armour libwebsockets.h also put notices on abi structs in there

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2015-12-10 07:24:20 +08:00
parent 4386e36b0b
commit 4fd5ce3361

View file

@ -1183,6 +1183,9 @@ struct lws_protocols {
struct lws_context *owning_server;
int protocol_index;
/* Add new things just above here ---^
* This is part of the ABI, don't needlessly break compatibilty */
};
#ifndef LWS_NO_EXTENSIONS
@ -1204,6 +1207,9 @@ struct lws_extension {
extension_callback_function *callback;
size_t per_session_data_size;
void *per_context_private_data;
/* Add new things just above here ---^
* This is part of the ABI, don't needlessly break compatibilty */
};
#endif
@ -1283,6 +1289,9 @@ struct lws_context_creation_info {
#else /* maintain structure layout either way */
void *provided_client_ssl_ctx;
#endif
/* Add new things just above here ---^
* This is part of the ABI, don't needlessly break compatibilty */
};
LWS_VISIBLE LWS_EXTERN void