fix c++ link issue

This commit is contained in:
Jehan Monnier 2017-07-24 18:35:11 +02:00
parent 43c69dc445
commit 8f86c4a37a
2 changed files with 13 additions and 2 deletions

View file

@ -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_

View file

@ -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_