diff options
author | James Bursa <james@netsurf-browser.org> | 2004-01-02 12:02:01 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-01-02 12:02:01 +0000 |
commit | 9f2c43718b68c0b59623317627c22934f7132e40 (patch) | |
tree | 006d6cfdf778fdd90735e9e6f3e8518b8cf60025 /debug | |
parent | 0aa89828602e6963b06c7958ddb4b9d0f719d01d (diff) | |
download | netsurf-9f2c43718b68c0b59623317627c22934f7132e40.tar.gz netsurf-9f2c43718b68c0b59623317627c22934f7132e40.tar.bz2 |
[project @ 2004-01-02 12:02:01 by bursa]
Add debugro build.
svn path=/import/netsurf/; revision=476
Diffstat (limited to 'debug')
-rw-r--r-- | debug/netsurfd.c | 34 |
1 files changed, 33 insertions, 1 deletions
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 = "<NetSurf$Dir>"; +#endif + |