From 9f2c43718b68c0b59623317627c22934f7132e40 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 2 Jan 2004 12:02:01 +0000 Subject: [project @ 2004-01-02 12:02:01 by bursa] Add debugro build. svn path=/import/netsurf/; revision=476 --- debug/netsurfd.c | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/netsurfd.c b/debug/netsurfd.c index 3bf178ee0..33b16678b 100644 --- a/debug/netsurfd.c +++ b/debug/netsurfd.c @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) while (1) { puts("=== URL:"); if (!fgets(url, 1000, stdin)) - return 0; + break; url[strlen(url) - 1] = 0; destroyed = 0; c = fetchcache(url, 0, callback, 0, 0, 100, 1000, false, 0, 0, true); @@ -73,10 +73,12 @@ void gui_multitask(void) LOG(("-")); } +#ifndef riscos int stricmp(char *s0, char *s1) { return strcasecmp(s0, s1); } +#endif void gui_remove_gadget(void *p) { @@ -114,3 +116,33 @@ void *login_list_get(char *url) { return 0; } + +bool plugin_handleable(const char *mime_type) +{ + return false; +} + +#ifdef riscos +void plugin_msg_parse(wimp_message *message, int ack) {} +void plugin_create(struct content *c) {} +void plugin_process_data(struct content *c, char *data, unsigned long size) {} +int plugin_convert(struct content *c, unsigned int width, unsigned int height) {} +void plugin_revive(struct content *c, unsigned int width, unsigned int height) {} +void plugin_reformat(struct content *c, unsigned int width, unsigned int height) {} +void plugin_destroy(struct content *c) {} +void plugin_redraw(struct content *c, long x, long y, + unsigned long width, unsigned long height, + long clip_x0, long clip_y0, long clip_x1, long clip_y1) {} +void plugin_add_instance(struct content *c, struct browser_window *bw, + struct content *page, struct box *box, + struct object_params *params, void **state) {} +void plugin_remove_instance(struct content *c, struct browser_window *bw, + struct content *page, struct box *box, + struct object_params *params, void **state) {} +void plugin_reshape_instance(struct content *c, struct browser_window *bw, + struct content *page, struct box *box, + struct object_params *params, void **state) {} + +char *NETSURF_DIR = ""; +#endif + -- cgit v1.2.3