NetSurf
|
javascript content implementation More...
#include <assert.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include "utils/errors.h"
#include "utils/config.h"
#include "content/content_protected.h"
#include "content/content_factory.h"
#include "content/hlcache.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
#include "javascript/content.h"
Go to the source code of this file.
Data Structures | |
struct | javascript_content |
Typedefs | |
typedef struct javascript_content | javascript_content |
Functions | |
static nserror | javascript_create (const content_handler *handler, lwc_string *imime_type, const struct http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c) |
static bool | javascript_convert (struct content *c) |
static nserror | javascript_clone (const struct content *old, struct content **newc) |
static void | javascript_destroy (struct content *c) |
static content_type | javascript_content_type (void) |
CONTENT_FACTORY_REGISTER_TYPES (javascript, javascript_types, javascript_content_handler) | |
Variables | |
static const content_handler | javascript_content_handler |
static const char * | javascript_types [] |
javascript content implementation
Definition in file content.c.
typedef struct javascript_content javascript_content |
CONTENT_FACTORY_REGISTER_TYPES | ( | javascript | , |
javascript_types | , | ||
javascript_content_handler | |||
) |
Definition at line 76 of file content.c.
References javascript_content::base, content__clone(), content_destroy(), NSERROR_NOMEM, and NSERROR_OK.
|
static |
Definition at line 100 of file content.c.
References CONTENT_JS.
|
static |
Definition at line 67 of file content.c.
References content_set_done(), and content_set_ready().
|
static |
Definition at line 43 of file content.c.
References javascript_content::base, content__init(), content::fallback_charset, content::handler, llcache, NSERROR_NOMEM, NSERROR_OK, and content::quirks.
|
static |
|
static |