|
NetSurf
|
Useful interned string pointers (interface). More...
Go to the source code of this file.
Macros | |
| #define | FILE_SCHEME_PREFIX "file:///" |
| File url prefix. More... | |
| #define | FILE_SCHEME_PREFIX_LEN 8 |
| File url prefix length. More... | |
| #define | CORESTRING_LWC_VALUE(NAME, VALUE) extern lwc_string *corestring_lwc_##NAME |
| #define | CORESTRING_DOM_VALUE(NAME, VALUE) extern struct dom_string *corestring_dom_##NAME |
| #define | CORESTRING_NSURL(NAME, VALUE) extern struct nsurl *corestring_nsurl_##NAME |
Functions | |
| nserror | corestrings_init (void) |
| Initialise the core string tables. More... | |
| nserror | corestrings_fini (void) |
| free resources of core string tables. More... | |
Useful interned string pointers (interface).
Definition in file corestrings.h.
| #define CORESTRING_DOM_VALUE | ( | NAME, | |
| VALUE | |||
| ) | extern struct dom_string *corestring_dom_##NAME |
Definition at line 54 of file corestrings.h.
| #define CORESTRING_LWC_VALUE | ( | NAME, | |
| VALUE | |||
| ) | extern lwc_string *corestring_lwc_##NAME |
Definition at line 52 of file corestrings.h.
| #define CORESTRING_NSURL | ( | NAME, | |
| VALUE | |||
| ) | extern struct nsurl *corestring_nsurl_##NAME |
Definition at line 56 of file corestrings.h.
| #define FILE_SCHEME_PREFIX "file:///" |
File url prefix.
Definition at line 30 of file corestrings.h.
| #define FILE_SCHEME_PREFIX_LEN 8 |
File url prefix length.
Definition at line 33 of file corestrings.h.
| nserror corestrings_fini | ( | void | ) |
free resources of core string tables.
Definition at line 40 of file corestrings.c.
References NSERROR_OK.
Referenced by corestrings_init(), and netsurf_exit().
| nserror corestrings_init | ( | void | ) |
Initialise the core string tables.
Definition at line 76 of file corestrings.c.
References corestrings_fini(), and NSERROR_OK.
Referenced by netsurf_init().