Home
last modified time | relevance | path

Searched +full:- +full:- +full:user (Results 1 – 25 of 203) sorted by relevance

123456789

/civetweb-2.7.6/examples/_obsolete/chat/
Dchat.c28 "Cache: no-cache\r\n"
29 "Content-Type: application/x-javascript\r\n"
32 // Describes single message sent to a chat. If user is empty (0 length),
36 char user[MAX_USER_LEN]; // User that have sent the message member
44 char random[20]; // Random data used for extra user validation
45 char user[MAX_USER_LEN]; // Authenticated user member
77 const char *qs = request_info->query_string; in get_qsvar()
91 // Read-lock the ringbuffer. Loop over all messages, making a JSON string. in messages_to_json()
96 if (last_message_id - last_id > max_msgs) { in messages_to_json()
97 last_id = last_message_id - max_msgs; in messages_to_json()
[all …]
/civetweb-2.7.6/docs/api/
Dmg_set_user_connection_data.md8 | :--- | :--- | :--- |
9 |**`conn`**|`struct mg_connection *`|connection to add the user data|
10 |**`data`**|`void *`|Pointer to the user data|
18 The function `mg_set_user_connection_data()` can be used to set a user defined
22 assigned user data pointer.
24 `mg_set_user_connection_data()` requires a non-const
25 `struct mg_connection *` to set the user data pointer. It is save to use the
31 `struct mg_callbacks` to set the user data pointer.
33 a user defined `struct`, while `connection_close` is used to free this
Dmg_get_user_connection_data.md8 | :--- | :--- | :--- |
9 |**`conn`**|`const struct mg_connection *`|The connection for which to return the user data|
14 | :--- | :--- |
15 |`void *`|A pointer to the user data, or NULL if no user data was registered with the connection|
19 …unction `mg_get_user_connection_data()` returns the user data associated with a connection. This u…
Dmg_modify_passwords_file.md3 ### `mg_modify_passwords_file( passwords_file_name, domain, user, password );`
8 | :--- | :--- | :--- |
10 |**`realm`**|`const char *`|The authentication realm (domain) of the user record|
11 |**`user`**|`const char *`|Username of the record to be added, changed or deleted|
12 |**`password`**|`const char *`|Password associated with the user or NULL if the record must be dele…
17 | :--- | :--- |
22 …to manipulate .htpasswd files on the fly by adding, deleting and changing user records. This is on…
/civetweb-2.7.6/VisualStudio/civetweb_lua/
Dcivetweb_lua.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{9BE9C008-E851-42B1-A034-BD4630AE4CD6}</ProjectGuid>
64 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
67 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
70 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
73 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
76 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
106 …hird_party;$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;$(ProjectDir)..\..\src\third_party\duk…
120 …hird_party;$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;$(ProjectDir)..\..\src\third_party\duk…
134 …irectories>$(ProjectDir)..\..\include;$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(Additiona…
[all …]
/civetweb-2.7.6/include/
Dcivetweb.h1 /* Copyright (c) 2013-2018 the Civetweb developers
2 * Copyright (c) 2004-2013 Sergey Lyubka
97 /* Support on-the-fly compression. */
124 /* Un-initialize this library.
147 const char *request_uri; /* URL-decoded URI (absolute or relative,
149 const char *local_uri; /* URL-decoded URI (relative). Can be NULL
152 #if defined(MG_LEGACY_INTERFACE) /* 2017-02-04, deprecated 2014-09-14 */
158 const char *remote_user; /* Authenticated user, or NULL if no auth
163 can be -1 if no length was given. */
165 int is_ssl; /* 1 if SSL-ed, 0 if not */
[all …]
/civetweb-2.7.6/VisualStudio/duktape_lib/
Dduktape_lib.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{0A11689C-DB6A-4BF6-97B2-AD32DB863FBD}</ProjectGuid>
58 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
61 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
64 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
67 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
89 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
103 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
119 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
137 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
[all …]
/civetweb-2.7.6/VisualStudio/civetweb_yassl/civetweb_yassl/
Dcivetweb_yassl.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{F02517CC-F896-41A2-86E4-509E55C70059}</ProjectGuid>
57 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
60 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
63 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
66 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
92 …jectDir)..\..\..\include;$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
106 …jectDir)..\..\..\include;$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
122 …jectDir)..\..\..\include;$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
140 …jectDir)..\..\..\include;$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_error_augment.c4 * When errors are created, traceback data is added by built-in code
5 * and a user error handler (if defined) can process or replace the
6 * error. Similarly, when errors are thrown, a user error handler
11 * rethrown multiple times. User error handler registered for processing
18 * augmented. Currently, the built-in augmentation at error creation
20 * built-in Error.prototype in their prototype chain) and are also
21 * extensible. User error handlers have no limitations in this respect.
27 * Helper for calling a user error handler.
48 * The user error handler is stored in 'Duktape.errCreate' or
51 * see doc/error-objects.rst for discussion.
[all …]
Dduk_hbuffer.h4 * Heap allocated user data buffer which is either:
26 #define DUK_HBUFFER_HAS_DYNAMIC(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
27 #define DUK_HBUFFER_HAS_EXTERNAL(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
29 #define DUK_HBUFFER_SET_DYNAMIC(x) DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_…
30 #define DUK_HBUFFER_SET_EXTERNAL(x) DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_…
32 #define DUK_HBUFFER_CLEAR_DYNAMIC(x) DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
33 #define DUK_HBUFFER_CLEAR_EXTERNAL(x) DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
58 /* Get/set the current user visible size, without accounting for a dynamic
63 #define DUK_HBUFFER_GET_SIZE(x) ((x)->hdr.h_flags >> 16)
68 (x)->hdr.h_flags = ((x)->hdr.h_flags & 0x0000ffffUL) | (((duk_uint32_t) duk__v) << 16); \
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_error_augment.c4 * When errors are created, traceback data is added by built-in code
5 * and a user error handler (if defined) can process or replace the
6 * error. Similarly, when errors are thrown, a user error handler
11 * rethrown multiple times. User error handler registered for processing
18 * augmented. Currently, the built-in augmentation at error creation
20 * built-in Error.prototype in their prototype chain) and are also
21 * extensible. User error handlers have no limitations in this respect.
27 * Helper for calling a user error handler.
48 * The user error handler is stored in 'Duktape.errCreate' or
51 * see doc/error-objects.rst for discussion.
[all …]
Dduk_hbuffer.h4 * Heap allocated user data buffer which is either:
26 #define DUK_HBUFFER_HAS_DYNAMIC(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
27 #define DUK_HBUFFER_HAS_EXTERNAL(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
29 #define DUK_HBUFFER_SET_DYNAMIC(x) DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_…
30 #define DUK_HBUFFER_SET_EXTERNAL(x) DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_…
32 #define DUK_HBUFFER_CLEAR_DYNAMIC(x) DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
33 #define DUK_HBUFFER_CLEAR_EXTERNAL(x) DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFE…
58 /* Get/set the current user visible size, without accounting for a dynamic
63 #define DUK_HBUFFER_GET_SIZE(x) ((x)->hdr.h_flags >> 16)
68 (x)->hdr.h_flags = ((x)->hdr.h_flags & 0x0000ffffUL) | (((duk_uint32_t) duk__v) << 16); \
[all …]
/civetweb-2.7.6/VisualStudio/civetweb_yassl/yassl_lib/
Dyassl_lib.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{8C0C878B-BBD6-4241-BCA6-61753FFCC7F1}</ProjectGuid>
57 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
60 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
63 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
66 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
88 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
102 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
118 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
136 …tionalIncludeDirectories>$(ProjectDir)..\..\..\..\cyassl-2.7.0\;$(ProjectDir)..\..\..\..\cyassl-2.…
[all …]
/civetweb-2.7.6/VisualStudio/lua_lib/
Dlua_lib.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{8F5E5D77-D269-4665-9E27-1045DA6CF0D8}</ProjectGuid>
58 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
61 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
64 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
67 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
89 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
103 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
119 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
137 …<AdditionalIncludeDirectories>$(ProjectDir)..\..\src\third_party\lua-5.2.4\src;%(AdditionalInclude…
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/eventloop/
Decma_eventloop.js10 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Timers
33 socketListening: {}, // fd -> callback
34 socketReading: {}, // fd -> callback
35 socketConnecting: {}, // fd -> callback
56 return (n > 0 ? timers[n - 1] : null);
61 return (t ? t.target - Date.now() : null);
70 * If no such timer, for-loop terminates with i-1, and we insert at -1+1=0.
74 for (i = n - 1; i >= 0; i--) {
87 // whose user callback we're running when this function gets called.
95 // Timer has expired and we're processing its callback. User
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/eventloop/
Decma_eventloop.js10 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Timers
33 socketListening: {}, // fd -> callback
34 socketReading: {}, // fd -> callback
35 socketConnecting: {}, // fd -> callback
56 return (n > 0 ? timers[n - 1] : null);
61 return (t ? t.target - Date.now() : null);
70 * If no such timer, for-loop terminates with i-1, and we insert at -1+1=0.
74 for (i = n - 1; i >= 0; i--) {
87 // whose user callback we're running when this function gets called.
95 // Timer has expired and we're processing its callback. User
[all …]
/civetweb-2.7.6/VisualStudio/civetweb/
Dcivetweb.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{E23B0040-F485-43D6-AA24-B34F9FED8484}</ProjectGuid>
57 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
60 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
63 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
66 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
/civetweb-2.7.6/VisualStudio/ex_embed_cpp/
Dex_embed_cpp.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{4308C5EE-45E4-45D8-9D73-6C4E2587AD78}</ProjectGuid>
58 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
61 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
64 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
67 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
/civetweb-2.7.6/VisualStudio/ex_websocket/
Dex_websocket.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{58B93E94-7766-435E-93AE-42A2FB5D99B1}</ProjectGuid>
58 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
61 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
64 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
67 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
/civetweb-2.7.6/VisualStudio/ex_websocket_client/
Dex_websocket_client.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
22 <ProjectGuid>{58B93E94-7766-435E-93AE-42A2FB5D99B2}</ProjectGuid>
58 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
61 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
64 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
67 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
/civetweb-2.7.6/VisualStudio/upload/
Dupload.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
29 <ProjectGuid>{882EC43C-2EEE-434B-A711-C845678D29C6}</ProjectGuid>
65 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
68 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
71 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
74 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
/civetweb-2.7.6/src/
Dmain.c1 /* Copyright (c) 2013-2018 the Civetweb developers
2 * Copyright (c) 2004-2013 Sergey Lyubka
39 * http://man7.org/linux/man-pages/man3/realpath.3.html, but in
42 * #pragma GCC diagnostic ignored "-Wimplicit-function-declaration"
43 * #pragma clang diagnostic ignored "-Wimplicit-function-declaration"
66 #define _FILE_OFFSET_BITS 64 /* Use 64-bit file offsets by default */
95 #define _WIN32_WINNT 0x0501 /* for tdm-gcc so we can use getconsolewindow */
123 #else /* defined(_WIN32) && !defined(__SYMBIAN32__) - WINDOWS / UNIX include \
134 #endif /* defined(_WIN32) && !defined(__SYMBIAN32__) - WINDOWS / UNIX include \
241 (void)vsnprintf(msg, sizeof(msg) - 1, fmt, ap); in die()
[all …]
/civetweb-2.7.6/VisualStudio/ex_embedded_c/
Dex_embedded_c.vcxproj1 <?xml version="1.0" encoding="utf-8"?>
29 <ProjectGuid>{882EC43C-2EEE-434B-A711-C844108D29C6}</ProjectGuid>
65 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
68 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
71 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
74 …serRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.…
/civetweb-2.7.6/src/third_party/
Dlsqlite3.c3 * Copyright (C) 2002-2016 Tiago Dionizio, Doug Currie *
7 * Library : lsqlite3 - an SQLite 3 database binding for Lua 5 *
75 /* to use as C user data so i know what function sqlite is calling */
199 sdb_vm *svm = (sdb_vm*)lua_newuserdata(L, sizeof(sdb_vm)); /* db sql svm_ud -- */ in newvm()
202 lua_setmetatable(L, -2); /* set metatable */ in newvm()
204 svm->db = db; in newvm()
205 svm->columns = 0; in newvm()
206 svm->has_values = 0; in newvm()
207 svm->vm = NULL; in newvm()
208 svm->temp = 0; in newvm()
[all …]
/civetweb-2.7.6/examples/_obsolete/docroot/
Dmain.js26 var row = $('<div>').addClass('message-row').appendTo('#mml');
29 .addClass('message-timestamp')
33 .addClass('message-user')
34 .addClass(entry.user ? '' : 'message-user-server')
35 .html(chat.normalizeText((entry.user || '[server]') + ':'))
38 .addClass('message-text')
39 .addClass(entry.user ? '' : 'message-text-server')
47 $('#mml div:first-child').remove();
66 $('.menu-item').removeClass('menu-item-selected'); // Deselect menu buttons
67 $(this).addClass('menu-item-selected'); // Select clicked button
[all …]

123456789