Lines Matching defs:info
90 struct lws_context_creation_info info;
110 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
111 info.options = LWS_SERVER_OPTION_EXPLICIT_VHOSTS |
118 context = lws_create_context(&info);
136 info.port = 7681;
137 info.mounts = &mount_localhost1;
138 info.error_document_404 = "/404.html";
139 info.vhost_name = "localhost1";
141 if (!lws_create_vhost(context, &info)) {
146 info.port = 7682;
147 info.mounts = &mount_localhost2;
148 info.error_document_404 = "/404.html";
149 info.vhost_name = "localhost2";
153 if (!lws_create_vhost(context, &info)) {
160 info.mounts = &mount_localhost3;
161 info.error_document_404 = "/404.html";
162 info.vhost_name = "localhost3";
163 info.finalize = vh_destruction_notification;
164 info.finalize_arg = NULL;
166 new_vhost = lws_create_vhost(context, &info);