NetSurf
Functions
resource.h File Reference

resource URL scheme handler interface. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror fetch_resource_register (void)
 Register the resource scheme. More...
 

Detailed Description

resource URL scheme handler interface.

The resource fetcher is intended to provide a flat uniform URL space for browser local resources referenced by URL. Using this scheme each frontend is only required to provide a single entry point to locate resources which can be accessed by the standard URL type scheme.

Definition in file resource.h.

Function Documentation

◆ fetch_resource_register()

nserror fetch_resource_register ( void  )

Register the resource scheme.

should only be called from the fetch initialise

Returns
NSERROR_OK on successful registration or error code on failure.

Definition at line 469 of file resource.c.

References fetch_resource_abort(), fetch_resource_can_fetch(), fetch_resource_finalise(), fetch_resource_free(), fetch_resource_initialise(), fetch_resource_poll(), fetch_resource_setup(), fetch_resource_start(), fetcher_add(), and fetcher_operation_table::initialise.

Referenced by fetcher_init().

Here is the call graph for this function:
Here is the caller graph for this function: