Lines Matching defs:info
97 struct lws_context_creation_info info;
111 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
112 info.port = 7681;
113 info.protocols = protocols;
114 info.mounts = &mount;
115 info.error_document_404 = "/404.html";
116 info.options =
119 info.listen_accept_role = "raw-skt";
120 info.listen_accept_protocol = "raw-echo";
124 info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
126 info.ssl_cert_filepath = "localhost-100y.cert";
127 info.ssl_private_key_filepath = "localhost-100y.key";
130 info.options |= LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;
133 info.options |= LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER;
137 context = lws_create_context(&info);