Lines Matching refs:info
69 struct lws_context_creation_info info;
88 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
89 info.port = 7681;
90 info.mounts = &mount;
91 info.protocols = protocols;
92 info.vhost_name = "localhost";
94 info.pvo = &pvo;
96 info.options =
102 info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT;
103 info.ssl_cert_filepath = "localhost-100y.cert";
104 info.ssl_private_key_filepath = "localhost-100y.key";
109 info.options |= LWS_SERVER_OPTION_VHOST_UPG_STRICT_HOST_CHECK;
112 info.retry_and_idle_policy = &retry;
114 context = lws_create_context(&info);