Home
last modified time | relevance | path

Searched refs:hooks (Results 1 – 6 of 6) sorted by relevance

/civetweb-2.7.6/examples/rest/cJSON/
DcJSON.c150 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup() argument
161 copy = (unsigned char*)hooks->allocate(length); in cJSON_strdup()
171 CJSON_PUBLIC(void) cJSON_InitHooks(cJSON_Hooks* hooks) in cJSON_InitHooks() argument
173 if (hooks == NULL) in cJSON_InitHooks()
183 if (hooks->malloc_fn != NULL) in cJSON_InitHooks()
185 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks()
189 if (hooks->free_fn != NULL) in cJSON_InitHooks()
191 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks()
203 static cJSON *cJSON_New_Item(const internal_hooks * const hooks) in cJSON_New_Item() argument
205 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item()
[all …]
DcJSON.h136 CJSON_PUBLIC(void) cJSON_InitHooks(cJSON_Hooks* hooks);
/civetweb-2.7.6/docs/api/
Dmg_set_auth_handler.md22 The function `mg_set_auth_handler()` hooks an authorization function to an URI to check if a user i…
Dmg_set_request_handler.md22 The function `mg_set_request_handler()` hooks a callback function on a URI. That callback function …
/civetweb-2.7.6/docs/
DEmbedding.md67 - Use *callbacks* to add your own hooks.
78 - Use constructor *callbacks* to add your own hooks.
/civetweb-2.7.6/src/third_party/lua-5.1.5/
DHISTORY108 + debugging info (lua_debug and hooks) moved into lua_state and new API