From 4fd5ce3361100483cd67eac6bbb028fd19049608 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 10 Dec 2015 07:24:20 +0800 Subject: [PATCH] armour libwebsockets.h also put notices on abi structs in there Signed-off-by: Andy Green --- lib/libwebsockets.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index ca1a5be..7bd3dd2 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -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 -- 2.7.4