Lines Matching defs:info
75 struct lws_context_creation_info info;
95 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
97 info.options = LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
101 context = lws_create_context(&info);
108 info.port = 80;
109 info.mounts = &mount80;
110 info.vhost_name = "localhost80";
112 if (!lws_create_vhost(context, &info)) {
117 info.port = 443;
118 info.mounts = &mount;
119 info.error_document_404 = "/404.html";
120 info.ssl_cert_filepath = "localhost-100y.cert";
121 info.ssl_private_key_filepath = "localhost-100y.key";
122 info.vhost_name = "localhost";
124 if (!lws_create_vhost(context, &info)) {