25#ifndef _NETSURF_FETCH_H_
26#define _NETSURF_FETCH_H_
45 const char *(*filetype)(
const char *unix_path);
62 struct nsurl* (*get_resource_url)(
const char *
path);
100 char *(*mimetype)(
const char *ro_path);
nserror
Enumeration of error codes.
struct nsurl nsurl
NetSurf URL object.
function table for fetcher operations.
nserror(* release_resource_data)(const uint8_t *data)
Releases source data.
nserror(* get_resource_data)(const char *path, const uint8_t **data, size_t *data_len)
Translate resource to source data.
int(* socket_close)(int socket)
Close a socket.
int(* socket_open)(int domain, int type, int protocol)
Open a socket.
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.