Commit 138e85a4 authored by Guillaume Beraudo's avatar Guillaume Beraudo

Fix some missing C++ declarations.

parent 326aa5d5
......@@ -25,6 +25,8 @@
#include <time.h>
BELLE_SIP_BEGIN_DECLS
/***************************************************************************************
* header address
......@@ -639,4 +641,7 @@ BELLESIP_EXPORT belle_sip_list_t* belle_sip_header_privacy_get_privacy(const bel
#define BELLE_SIP_HEADER_PRIVACY(t) BELLE_SIP_CAST(t,belle_sip_header_privacy_t)
#define BELLE_SIP_PRIVACY "Privacy"
BELLE_SIP_END_DECLS
#endif /* HEADERS_H_ */
......@@ -20,6 +20,8 @@
#ifndef belle_sip_listener_h
#define belle_sip_listener_h
BELLE_SIP_BEGIN_DECLS
typedef struct belle_sip_dialog_terminated_event belle_sip_dialog_terminated_event_t;
typedef struct belle_sip_io_error_event belle_sip_io_error_event_t;
typedef struct belle_sip_request_event belle_sip_request_event_t;
......@@ -132,5 +134,7 @@ typedef struct belle_sip_listener_callbacks belle_sip_listener_callbacks_t;
**/
BELLESIP_EXPORT belle_sip_listener_t *belle_sip_listener_create_from_callbacks(const belle_sip_listener_callbacks_t *callbacks, void *user_ctx);
BELLE_SIP_END_DECLS
#endif
......@@ -21,6 +21,9 @@
#include "belle-sip/utils.h"
#include "belle-sip/list.h"
BELLE_SIP_BEGIN_DECLS
/***
* parameters
*
......@@ -58,5 +61,7 @@ BELLESIP_EXPORT void belle_sip_parameters_copy_parameters_from(belle_sip_paramet
#define BELLE_SIP_PARAMETERS(obj) BELLE_SIP_CAST(obj,belle_sip_parameters_t)
BELLE_SIP_END_DECLS
#endif /*PARAMETERS_H_*/
......@@ -20,6 +20,8 @@
#define REFRESHER_HELPER_H_
#define BELLE_SIP_REFRESHER_REUSE_EXPIRES -1
BELLE_SIP_BEGIN_DECLS
typedef struct belle_sip_refresher belle_sip_refresher_t;
/**
* Refresher listener invoked every time a refresh action is performed
......@@ -88,4 +90,6 @@ BELLESIP_EXPORT const belle_sip_list_t* belle_sip_refresher_get_auth_events(cons
**/
BELLESIP_EXPORT void belle_sip_refresher_enable_manual_mode(belle_sip_refresher_t *refresher, int enabled);
BELLE_SIP_END_DECLS
#endif /* REFRESHER_HELPER_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