diff options
Diffstat (limited to 'src/web.hh')
-rw-r--r-- | src/web.hh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -22,18 +22,21 @@ typedef struct _DilloWeb DilloWeb; struct _DilloWeb { DilloUrl *url; /* Requested URL */ + DilloUrl *requester; /* URL that caused this request, or + * NULL if user-initiated. */ BrowserWindow *bw; /* The requesting browser window [reference] */ int flags; /* Additional info */ DilloImage *Image; /* For image urls [reference] */ + int32_t bgColor; /* for image backgrounds */ char *filename; /* Variables for Local saving */ FILE *stream; int SavedBytes; }; void a_Web_init(void); -DilloWeb* a_Web_new (const DilloUrl* url); +DilloWeb* a_Web_new (const DilloUrl* url, const DilloUrl *requester); int a_Web_valid(DilloWeb *web); void a_Web_free (DilloWeb*); int a_Web_dispatch_by_type (const char *Type, DilloWeb *web, |