Commit 8f86c4a3 authored by jehan's avatar jehan

fix c++ link issue

parent 43c69dc4
......@@ -22,6 +22,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "linphone/core.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _lpc2xml_context lpc2xml_context;
typedef enum _lpc2xml_log_level {
......@@ -41,6 +44,8 @@ LINPHONE_PUBLIC int lpc2xml_set_lpc(lpc2xml_context* context, const LpConfig *lp
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);
#ifdef __cplusplus
}
#endif
#endif //LPC2XML_H_
......@@ -22,6 +22,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "linphone/core.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _xml2lpc_context xml2lpc_context;
typedef enum _xml2lpc_log_level {
......@@ -47,6 +51,8 @@ LINPHONE_PUBLIC int xml2lpc_set_xsd_string(xml2lpc_context* context, const char
LINPHONE_PUBLIC int xml2lpc_validate(xml2lpc_context *context);
LINPHONE_PUBLIC int xml2lpc_convert(xml2lpc_context *context, LpConfig *lpc);
#ifdef __cplusplus
}
#endif
#endif //XML2LPC_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment