1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

plugins: use new export symbol convention

This commit is contained in:
Andy Green 2020-10-09 21:06:07 +01:00
parent 524e680c8b
commit 9b94c53431
12 changed files with 12 additions and 12 deletions

View file

@ -689,7 +689,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_DEADDROP
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_deaddrop = {
LWS_VISIBLE const lws_plugin_protocol_t deaddrop = {
.hdr = {
"deaddrop",
"lws_protocol_plugin",

View file

@ -173,7 +173,7 @@ static const struct lws_protocols protocols[] = {
},
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_client_loopback_test = {
LWS_VISIBLE const lws_plugin_protocol_t client_loopback_test = {
.hdr = {
"client loopback test",
"lws_protocol_plugin",

View file

@ -121,7 +121,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_DUMB_INCREMENT
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_dumb_increment = {
LWS_VISIBLE const lws_plugin_protocol_t dumb_increment = {
.hdr = {
"dumb increment",
"lws_protocol_plugin",

View file

@ -266,7 +266,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_FULLTEXT_DEMO
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_fulltext_demo = {
LWS_VISIBLE const lws_plugin_protocol_t fulltext_demo = {
.hdr = {
"fulltext demo",
"lws_protocol_plugin",

View file

@ -482,7 +482,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_MIRROR
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_mirror = {
LWS_VISIBLE const lws_plugin_protocol_t lws_mirror = {
.hdr = {
"lws mirror",
"lws_protocol_plugin",

View file

@ -279,7 +279,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_RAW_TEST
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_raw_test = {
LWS_VISIBLE const lws_plugin_protocol_t lws_raw_test = {
.hdr = {
"lws raw test",
"lws_protocol_plugin",

View file

@ -204,7 +204,7 @@ static const struct lws_protocols protocols[] = {
},
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_server_status = {
LWS_VISIBLE const lws_plugin_protocol_t lws_server_status = {
.hdr = {
"lws server status",
"lws_protocol_plugin",

View file

@ -455,7 +455,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_LWS_SSHD_DEMO
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_sshd_demo = {
LWS_VISIBLE const lws_plugin_protocol_t lws_sshd_demo = {
.hdr = {
"lws sshd demo",
"lws_protocol_plugin",

View file

@ -245,7 +245,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_LWS_STATUS
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_status = {
LWS_VISIBLE const lws_plugin_protocol_t lws_status = {
.hdr = {
"lws status",
"lws_protocol_plugin",

View file

@ -287,7 +287,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_POST_DEMO
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_post_demo = {
LWS_VISIBLE const lws_plugin_protocol_t post_demo = {
.hdr = {
"post demo",
"lws_protocol_plugin",

View file

@ -562,7 +562,7 @@ static const struct lws_protocols protocols[] = {
LWS_PLUGIN_PROTOCOL_RAW_PROXY
};
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_raw_proxy = {
LWS_VISIBLE const lws_plugin_protocol_t lws_raw_proxy = {
.hdr = {
"raw proxy",
"lws_protocol_plugin",

View file

@ -2565,7 +2565,7 @@ const struct lws_protocols protocols_sshd[] = {
#if !defined (LWS_PLUGIN_STATIC)
LWS_VISIBLE const lws_plugin_protocol_t protocol_lws_ssh_base = {
LWS_VISIBLE const lws_plugin_protocol_t lws_ssh_base = {
.hdr = {
"ssh base",
"lws_protocol_plugin",