Lines Matching defs:info
161 struct lws_context_creation_info info;
174 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
175 info.options = LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
181 info.max_http_header_pool = 1;
183 context = lws_create_context(&info);
191 info.port = 7681;
192 info.protocols = protocols;
193 info.mounts = &mount;
194 info.vhost_name = "http";
196 if (!lws_create_vhost(context, &info)) {
203 info.port = 7682;
204 info.error_document_404 = "/404.html";
206 info.ssl_cert_filepath = "localhost-100y.cert";
207 info.ssl_private_key_filepath = "localhost-100y.key";
209 info.vhost_name = "https";
211 if (!lws_create_vhost(context, &info)) {