summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2004-06-05 15:03:59 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2004-06-05 15:03:59 +0000
commitdc65374aa6ccd54fd4b61cacb7bd57b7d756043d (patch)
tree2164e073695b9d506f3bb9e0a3327d117749b0d5 /content/content.h
parentea2cc2312770769604fb14569408f039eaa4c266 (diff)
downloadnetsurf-dc65374aa6ccd54fd4b61cacb7bd57b7d756043d.tar.gz
netsurf-dc65374aa6ccd54fd4b61cacb7bd57b7d756043d.tar.bz2
[project @ 2004-06-05 15:03:59 by joty]
Created content_set_status() : one centralised place where status_message in the content struct is updated in a fail safe way. svn path=/import/netsurf/; revision=928
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content.h b/content/content.h
index 5c36559da..13c4092ce 100644
--- a/content/content.h
+++ b/content/content.h
@@ -169,6 +169,7 @@ content_type content_lookup(const char *mime_type);
struct content * content_create(char *url);
void content_set_type(struct content *c, content_type type,
const char *mime_type, const char *params[]);
+void content_set_status(struct content *c, const char *status_message, ...);
void content_process_data(struct content *c, char *data, unsigned long size);
void content_convert(struct content *c, unsigned long width, unsigned long height);
void content_revive(struct content *c, unsigned long width, unsigned long height);