Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 56) sorted by relevance

123

/civetweb-2.7.6/src/
Dmain.c274 const struct mg_option *options; in show_usage_and_exit() local
299 options = mg_get_valid_options(); in show_usage_and_exit()
300 for (i = 0; options[i].name != NULL; i++) { in show_usage_and_exit()
303 options[i].name, in show_usage_and_exit()
304 ((options[i].default_value == NULL) in show_usage_and_exit()
306 : options[i].default_value)); in show_usage_and_exit()
309 options = main_config_options; in show_usage_and_exit()
310 for (i = 0; options[i].name != NULL; i++) { in show_usage_and_exit()
313 options[i].name, in show_usage_and_exit()
314 ((options[i].default_value == NULL) in show_usage_and_exit()
[all …]
DCivetServer.cpp276 CivetServer::CivetServer(const char **options, in CivetServer() argument
292 context = mg_start(&callbacks, this, options); in CivetServer()
298 CivetServer::CivetServer(std::vector<std::string> options, in CivetServer() argument
315 std::vector<const char *> pointers(options.size()); in CivetServer()
316 for (size_t i = 0; i < options.size(); i++) { in CivetServer()
317 pointers[i] = (options[i].c_str()); in CivetServer()
/civetweb-2.7.6/
Dconanfile.py17 options = { variable in civetwebConan
36 del self.options.fPIC
39 if not self.options.enable_cxx:
43 if self.options.enable_ssl:
49 cmake.definitions["CIVETWEB_ENABLE_SSL"] = self.options.enable_ssl
50 cmake.definitions["CIVETWEB_ENABLE_WEBSOCKETS"] = self.options.enable_websockets
51 cmake.definitions["CIVETWEB_ENABLE_IPV6"] = self.options.enable_ipv6
52 cmake.definitions["CIVETWEB_ENABLE_CXX"] = self.options.enable_cxx
76 if self.options.enable_cxx:
84 if self.options.enable_websockets:
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dldblib.c121 const char *options = luaL_optstring(L, arg+2, "flnStu"); in db_getinfo() local
130 lua_pushfstring(L, ">%s", options); in db_getinfo()
131 options = lua_tostring(L, -1); in db_getinfo()
137 if (!lua_getinfo(L1, options, &ar)) in db_getinfo()
140 if (strchr(options, 'S')) { in db_getinfo()
147 if (strchr(options, 'l')) in db_getinfo()
149 if (strchr(options, 'u')) { in db_getinfo()
154 if (strchr(options, 'n')) { in db_getinfo()
158 if (strchr(options, 't')) in db_getinfo()
160 if (strchr(options, 'L')) in db_getinfo()
[all …]
Dloslib.c172 static const char *const options[] = LUA_STRFTIMEOPTIONS; in checkoption() local
174 for (i = 0; i < sizeof(options)/sizeof(options[0]); i += 2) { in checkoption()
175 if (*conv != '\0' && strchr(options[i], *conv) != NULL) { in checkoption()
177 if (*options[i + 1] == '\0') { /* one-char conversion specifier? */ in checkoption()
182 strchr(options[i + 1], *(conv + 1)) != NULL) { in checkoption()
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dldblib.c149 const char *options = luaL_optstring(L, arg+2, "flnStu"); in db_getinfo() local
152 options = lua_pushfstring(L, ">%s", options); /* add '>' to 'options' */ in db_getinfo()
162 if (!lua_getinfo(L1, options, &ar)) in db_getinfo()
165 if (strchr(options, 'S')) { in db_getinfo()
172 if (strchr(options, 'l')) in db_getinfo()
174 if (strchr(options, 'u')) { in db_getinfo()
179 if (strchr(options, 'n')) { in db_getinfo()
183 if (strchr(options, 't')) in db_getinfo()
185 if (strchr(options, 'L')) in db_getinfo()
187 if (strchr(options, 'f')) in db_getinfo()
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dldblib.c103 const char *options = luaL_optstring(L, arg+2, "flnSu"); in db_getinfo() local
111 lua_pushfstring(L, ">%s", options); in db_getinfo()
112 options = lua_tostring(L, -1); in db_getinfo()
118 if (!lua_getinfo(L1, options, &ar)) in db_getinfo()
121 if (strchr(options, 'S')) { in db_getinfo()
128 if (strchr(options, 'l')) in db_getinfo()
130 if (strchr(options, 'u')) in db_getinfo()
132 if (strchr(options, 'n')) { in db_getinfo()
136 if (strchr(options, 'L')) in db_getinfo()
138 if (strchr(options, 'f')) in db_getinfo()
/civetweb-2.7.6/docs/api/
Dmg_start.md3 ### `mg_start( callbacks, user_data, options );`
11 |**`options`**|`char **`| A list of options used to initialize the web server. The list consists of…
13 The option list can be used to set the following options:
32options. The callback functions can do application specific processing of events which are encoun…
Dmg_get_valid_options.md13 |`const struct mg_option *`|An array with all valid configuration options|
17 The function `mg_get_valid_options()` returns an array with all valid configuration options of Cive…
Dmg_check_feature.md26 …cols are used effectively when the server is running is dependent on the options used when the ser…
29 …s. WebSockets support is available in the CivetWeb library if the proper options has been used dur…
31 …er side JavaScript can be used for dynamic page generation if the proper options have been set at …
Dmg_init_library.md31 …cols are used effectively when the server is running is dependent on the options used when the ser…
34 …s. WebSockets support is available in the CivetWeb library if the proper options has been used dur…
36 …er side JavaScript can be used for dynamic page generation if the proper options have been set at …
Dmg_get_option.md20 When starting the CivetWeb webserver, options are provided to set the wanted behaviour of the serve…
/civetweb-2.7.6/src/third_party/duktape-1.8.0/config/
DREADME.rst14 platform detection and ``DUK_OPT_xxx`` feature options.
20 * It autogenerates documentation for config options (and Duktape 1.2.x
21 feature options) based on option metadata files written in YAML.
/civetweb-2.7.6/src/third_party/duktape-1.5.2/config/
DREADME.rst14 platform detection and ``DUK_OPT_xxx`` feature options.
20 * It autogenerates documentation for config options (and Duktape 1.2.x
21 feature options) based on option metadata files written in YAML.
/civetweb-2.7.6/docs/
DBuilding.md66 The additional make options configure the library just as it would the application.
78 ## Setting build options
80 Make options can be set on the command line with the make command like so.
107 Note that the WITH_* options used for *make* are not identical to the
177 Take total control with *CC*, *COPT* and *TARGET_OS* as make options.
188 to be done using *Makefile.osx* because additional compile and link options
189 are required. This Makefile has all the same options as the other one plus
199 … Including Civetweb in buildroot is fairly easy. There is even support for various build options.
DEmbedding.md66 - Use *options* to select the port and document root among other things.
77 - Use constructor *options* to select the port and document root among other things.
88 ##### start time options
89 Start time options are passed to `mg_start`. They are documented in the [UserManual.md](https://git…
101 …s if this would be an appropriate solution - in general, other customization options are preferred.
174 - configuration options. Note that CivetWeb makes internal copies of
175 passed options.
230 All accepted sockets have `SO_RCVTIMEO` and `SO_SNDTIMEO` socket options set
/civetweb-2.7.6/examples/embedded_cpp/
Dembedded_cpp.cpp383 const char *options[] = { in main() local
387 for (int i=0; i<(sizeof(options)/sizeof(options[0])-1); i++) { in main()
388 cpp_options.push_back(options[i]); in main()
/civetweb-2.7.6/examples/_obsolete/hello/
Dhello.c36 const char *options[] = {"listening_ports", "8080", NULL}; in main() local
43 ctx = mg_start(&callbacks, NULL, options); in main()
/civetweb-2.7.6/examples/_obsolete/post/
Dpost.c48 const char *options[] = {"listening_ports", "8080", NULL}; in main() local
53 ctx = mg_start(&callbacks, NULL, options); in main()
/civetweb-2.7.6/examples/_obsolete/upload/
Dupload.c89 const char *options[] = { in main() local
103 ctx = mg_start(&callbacks, NULL, options); in main()
/civetweb-2.7.6/examples/rest/
Drest.c212 const char *options[] = {"listening_ports", in main() local
261 ctx = mg_start(&callbacks, 0, options); in main()
/civetweb-2.7.6/examples/_obsolete/websocket_client/
Dwebsocket_client.c135 const char *options[] = {"document_root", in start_websocket_server() local
156 ctx = mg_start(&callbacks, 0, options); in start_websocket_server()
159 ctx = mg_start(&callbacks, 0, options); in start_websocket_server()
/civetweb-2.7.6/examples/_obsolete/docroot/
Djquery.js45 …b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="selec…
62 …")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){retur…
139 …on(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:fu…
141options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop=…
142options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==tru…
143options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.s…
/civetweb-2.7.6/examples/_obsolete/ws_server/
Dws_server.c243 const char *options[] = { in main() local
260 ctx = mg_start(&callbacks, NULL, options); in main()
/civetweb-2.7.6/include/
DCivetServer.h245 CivetServer(const char **options,
248 CivetServer(std::vector<std::string> options,

123