mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
fix c++ link issue
This commit is contained in:
parent
43c69dc445
commit
8f86c4a37a
2 changed files with 13 additions and 2 deletions
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue