diff options
author | James Bursa <james@netsurf-browser.org> | 2004-05-13 14:39:43 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-05-13 14:39:43 +0000 |
commit | 837d60cc37b0634f2ff5b7835594d3c02b0f42b5 (patch) | |
tree | 70c154d7755c672b63ec74aee14e8eca4f4654cc /riscos/url_protocol.h | |
parent | 59d25c3a0269fbde77b75044c006d5d8735420c1 (diff) | |
download | netsurf-837d60cc37b0634f2ff5b7835594d3c02b0f42b5.tar.gz netsurf-837d60cc37b0634f2ff5b7835594d3c02b0f42b5.tar.bz2 |
[project @ 2004-05-13 14:39:43 by bursa]
Fix URL protocol termination bug (reported by Fred Bambrough). Change from xcalloc to malloc and add error handling.
svn path=/import/netsurf/; revision=859
Diffstat (limited to 'riscos/url_protocol.h')
-rw-r--r-- | riscos/url_protocol.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/riscos/url_protocol.h b/riscos/url_protocol.h index 4e06d462a..4715a5b1e 100644 --- a/riscos/url_protocol.h +++ b/riscos/url_protocol.h @@ -5,14 +5,18 @@ * Copyright 2003 John M Bell <jmb202@ecs.soton.ac.uk> */ +/** \file + * ANT URL launching protocol (interface). + */ + #ifndef _NETSURF_RISCOS_URL_H_ #define _NETSURF_RISCOS_URL_H_ #include "oslib/wimp.h" void ro_url_message_received(wimp_message *message); -bool ro_url_broadcast(char *url); -bool ro_url_load(char *url); +void ro_url_broadcast(const char *url); +void ro_url_load(const char *url); void ro_url_bounce(wimp_message *message); #endif |