From ac13f96e53514bf12d8a55728d893abf68a1b58f Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 11 Jan 2017 11:49:27 +0100 Subject: [PATCH] Add missing symbol exports for build on Windows. --- coreapi/lpc2xml.h | 12 ++++++------ coreapi/xml2lpc.h | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/coreapi/lpc2xml.h b/coreapi/lpc2xml.h index 60380cece..8bef89c7a 100644 --- a/coreapi/lpc2xml.h +++ b/coreapi/lpc2xml.h @@ -33,14 +33,14 @@ typedef enum _lpc2xml_log_level { typedef void(*lpc2xml_function)(void *ctx, lpc2xml_log_level level, const char *fmt, va_list list); -lpc2xml_context* lpc2xml_context_new(lpc2xml_function cbf, void *ctx); -void lpc2xml_context_destroy(lpc2xml_context*); +LINPHONE_PUBLIC lpc2xml_context* lpc2xml_context_new(lpc2xml_function cbf, void *ctx); +LINPHONE_PUBLIC void lpc2xml_context_destroy(lpc2xml_context*); -int lpc2xml_set_lpc(lpc2xml_context* context, const LpConfig *lpc); +LINPHONE_PUBLIC int lpc2xml_set_lpc(lpc2xml_context* context, const LpConfig *lpc); -int lpc2xml_convert_file(lpc2xml_context* context, const char *filename); -int lpc2xml_convert_fd(lpc2xml_context* context, int fd); -int lpc2xml_convert_string(lpc2xml_context* context, char **content); +LINPHONE_PUBLIC int lpc2xml_convert_file(lpc2xml_context* context, const char *filename); +LINPHONE_PUBLIC int lpc2xml_convert_fd(lpc2xml_context* context, int fd); +LINPHONE_PUBLIC int lpc2xml_convert_string(lpc2xml_context* context, char **content); #endif //LPC2XML_H_ diff --git a/coreapi/xml2lpc.h b/coreapi/xml2lpc.h index 5042511c7..5c3707bdd 100644 --- a/coreapi/xml2lpc.h +++ b/coreapi/xml2lpc.h @@ -33,19 +33,19 @@ typedef enum _xml2lpc_log_level { typedef void(*xml2lpc_function)(void *ctx, xml2lpc_log_level level, const char *fmt, va_list list); -xml2lpc_context* xml2lpc_context_new(xml2lpc_function cbf, void *ctx); -void xml2lpc_context_destroy(xml2lpc_context*); +LINPHONE_PUBLIC xml2lpc_context* xml2lpc_context_new(xml2lpc_function cbf, void *ctx); +LINPHONE_PUBLIC void xml2lpc_context_destroy(xml2lpc_context*); -int xml2lpc_set_xml_file(xml2lpc_context* context, const char *filename); -int xml2lpc_set_xml_fd(xml2lpc_context* context, int fd); -int xml2lpc_set_xml_string(xml2lpc_context* context, const char *content); +LINPHONE_PUBLIC int xml2lpc_set_xml_file(xml2lpc_context* context, const char *filename); +LINPHONE_PUBLIC int xml2lpc_set_xml_fd(xml2lpc_context* context, int fd); +LINPHONE_PUBLIC int xml2lpc_set_xml_string(xml2lpc_context* context, const char *content); -int xml2lpc_set_xsd_file(xml2lpc_context* context, const char *filename); -int xml2lpc_set_xsd_fd(xml2lpc_context* context, int fd); -int xml2lpc_set_xsd_string(xml2lpc_context* context, const char *content); +LINPHONE_PUBLIC int xml2lpc_set_xsd_file(xml2lpc_context* context, const char *filename); +LINPHONE_PUBLIC int xml2lpc_set_xsd_fd(xml2lpc_context* context, int fd); +LINPHONE_PUBLIC int xml2lpc_set_xsd_string(xml2lpc_context* context, const char *content); -int xml2lpc_validate(xml2lpc_context *context); -int xml2lpc_convert(xml2lpc_context *context, LpConfig *lpc); +LINPHONE_PUBLIC int xml2lpc_validate(xml2lpc_context *context); +LINPHONE_PUBLIC int xml2lpc_convert(xml2lpc_context *context, LpConfig *lpc);