Dillo v3.1.1-99-gf3103cc4
Loading...
Searching...
No Matches
web.hh File Reference
#include <stdio.h>
#include "bw.h"
#include "cache.h"
#include "image.hh"
Include dependency graph for web.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DilloWeb
 

Macros

#define WEB_RootUrl   1
 
#define WEB_Image   2
 
#define WEB_Stylesheet   4
 
#define WEB_Download   8 /* Half implemented... */
 

Typedefs

typedef struct _DilloWeb DilloWeb
 

Functions

void a_Web_init (void)
 
DilloWeba_Web_new (BrowserWindow *bw, const DilloUrl *url, const DilloUrl *requester)
 Allocate and set safe values for a DilloWeb structure.
 
int a_Web_valid (DilloWeb *web)
 Validate a DilloWeb pointer.
 
void a_Web_free (DilloWeb *)
 Deallocate a DilloWeb structure.
 
int a_Web_dispatch_by_type (const char *Type, DilloWeb *web, CA_Callback_t *Call, void **Data)
 Given the MIME content type, and a fd to read it from, this function connects the proper MIME viewer to it.
 

Macro Definition Documentation

◆ WEB_Download

#define WEB_Download   8 /* Half implemented... */

Definition at line 19 of file web.hh.

◆ WEB_Image

#define WEB_Image   2

Definition at line 17 of file web.hh.

◆ WEB_RootUrl

#define WEB_RootUrl   1

Definition at line 16 of file web.hh.

◆ WEB_Stylesheet

#define WEB_Stylesheet   4

Definition at line 18 of file web.hh.

Typedef Documentation

◆ DilloWeb

typedef struct _DilloWeb DilloWeb

Definition at line 22 of file web.hh.

Function Documentation

◆ a_Web_dispatch_by_type()

◆ a_Web_free()

void a_Web_free ( DilloWeb web)

◆ a_Web_init()

void a_Web_init ( void  )

Definition at line 38 of file web.cc.

References dList_new(), and ValidWebs.

Referenced by main().

◆ a_Web_new()

◆ a_Web_valid()

int a_Web_valid ( DilloWeb web)