summaryrefslogtreecommitdiff
path: root/content/content_protected.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-11-26 16:24:48 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-11-26 17:32:47 +0000
commit2fef76db1555f49cff7f2baeec7fa084c8a5facb (patch)
treef91d762a0bd065e461142a27f20fc2815ebf94b7 /content/content_protected.h
parent840284b24d1a03c14592dd907894b136a37c495c (diff)
downloadnetsurf-2fef76db1555f49cff7f2baeec7fa084c8a5facb.tar.gz
netsurf-2fef76db1555f49cff7f2baeec7fa084c8a5facb.tar.bz2
add errorcode content broadcast API
Diffstat (limited to 'content/content_protected.h')
-rw-r--r--content/content_protected.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/content_protected.h b/content/content_protected.h
index e39979768..ecbe17fc7 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -160,6 +160,11 @@ void content_set_error(struct content *c);
void content_set_status(struct content *c, const char *status_message);
void content_broadcast(struct content *c, content_msg msg,
union content_msg_data data);
+/**
+ * Send an errorcode message to all users.
+ */
+void content_broadcast_errorcode(struct content *c, nserror errorcode);
+
void content_add_error(struct content *c, const char *token,
unsigned int line);