diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 15:25:15 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 15:25:15 +0100 |
commit | 2be3ebd91868436abcbbd581b3e661cdd6f95559 (patch) | |
tree | 3af990171e25b772ab9c414457d634bfb6e7c2fc /content/content_protected.h | |
parent | 6ba199c7d7bee1909107ee0b8cbaf749c575b310 (diff) | |
download | netsurf-2be3ebd91868436abcbbd581b3e661cdd6f95559.tar.gz netsurf-2be3ebd91868436abcbbd581b3e661cdd6f95559.tar.bz2 |
content: Rename content_broadcast_errorcode()
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index 0358269f2..f0a95b64d 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -174,9 +174,13 @@ void content_set_status(struct content *c, const char *status_message); void content_broadcast(struct content *c, content_msg msg, const union content_msg_data *data); /** - * Send an errorcode message to all users. + * Send an error message to all users. + * + * \param c The content whose users should be informed of an error + * \param errorcode The nserror code to send + * \param msg The error message to send alongside */ -void content_broadcast_errorcode(struct content *c, nserror errorcode); +void content_broadcast_error(struct content *c, nserror errorcode, const char *msg); void content_add_error(struct content *c, const char *token, unsigned int line); |