NetSurf
Functions | Variables
fetch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsw32_get_resource_data (const char *path, const uint8_t **data_out, size_t *data_len_out)
 Translate resource to win32 resource data. More...
 

Variables

struct gui_fetch_tablewin32_fetch_table
 win32 API fetch operation table More...
 

Function Documentation

◆ nsw32_get_resource_data()

nserror nsw32_get_resource_data ( const char *  path,
const uint8_t **  data_out,
size_t *  data_len_out 
)

Translate resource to win32 resource data.

Obtains the data for a resource directly

Parameters
pathThe path of the resource to locate.
dataPointer to recive data into
data_lenPointer to length of returned data
Returns
NSERROR_OK and the data and length values updated else appropriate error code.

Definition at line 90 of file fetch.c.

References NSERROR_NOT_FOUND, NSERROR_OK, and path().

Referenced by nsw32_messages_init().

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

Variable Documentation

◆ win32_fetch_table

struct gui_fetch_table* win32_fetch_table
extern

win32 API fetch operation table

Definition at line 133 of file fetch.c.

Referenced by WinMain().