Commit a2ded09c authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

headers: export some symbols for windows

parent 258ca1bf
...@@ -515,7 +515,7 @@ void linphone_proxy_config_update(LinphoneProxyConfig *cfg); ...@@ -515,7 +515,7 @@ void linphone_proxy_config_update(LinphoneProxyConfig *cfg);
LinphoneProxyConfig * linphone_core_lookup_known_proxy(LinphoneCore *lc, const LinphoneAddress *uri); LinphoneProxyConfig * linphone_core_lookup_known_proxy(LinphoneCore *lc, const LinphoneAddress *uri);
const char *linphone_core_find_best_identity(LinphoneCore *lc, const LinphoneAddress *to); const char *linphone_core_find_best_identity(LinphoneCore *lc, const LinphoneAddress *to);
int linphone_core_get_local_ip_for(int type, const char *dest, char *result); int linphone_core_get_local_ip_for(int type, const char *dest, char *result);
void linphone_core_get_local_ip(LinphoneCore *lc, int af, const char *dest, char *result); LINPHONE_PUBLIC void linphone_core_get_local_ip(LinphoneCore *lc, int af, const char *dest, char *result);
LinphoneProxyConfig *linphone_proxy_config_new_from_config_file(LinphoneCore *lc, int index); LinphoneProxyConfig *linphone_proxy_config_new_from_config_file(LinphoneCore *lc, int index);
void linphone_proxy_config_write_to_config_file(struct _LpConfig* config,LinphoneProxyConfig *obj, int index); void linphone_proxy_config_write_to_config_file(struct _LpConfig* config,LinphoneProxyConfig *obj, int index);
......
...@@ -354,7 +354,7 @@ typedef struct SalOpBase{ ...@@ -354,7 +354,7 @@ typedef struct SalOpBase{
SalAddress* service_route; /*as defined by rfc3608, might be a list*/ SalAddress* service_route; /*as defined by rfc3608, might be a list*/
SalCustomHeader *sent_custom_headers; SalCustomHeader *sent_custom_headers;
SalCustomHeader *recv_custom_headers; SalCustomHeader *recv_custom_headers;
char* entity_tag; /*as defined by rfc3903 (I.E publih)*/ char* entity_tag; /*as defined by rfc3903 (I.E publih)*/
} SalOpBase; } SalOpBase;
...@@ -645,7 +645,7 @@ void sal_op_set_to_address(SalOp *op, const SalAddress *to); ...@@ -645,7 +645,7 @@ void sal_op_set_to_address(SalOp *op, const SalAddress *to);
SalOp *sal_op_ref(SalOp* h); SalOp *sal_op_ref(SalOp* h);
void sal_op_stop_refreshing(SalOp *op); void sal_op_stop_refreshing(SalOp *op);
int sal_op_refresh(SalOp *op); int sal_op_refresh(SalOp *op);
void sal_op_release(SalOp *h); void sal_op_release(SalOp *h);
/*same as release, but does not stop refresher if any*/ /*same as release, but does not stop refresher if any*/
void* sal_op_unref(SalOp* op); void* sal_op_unref(SalOp* op);
...@@ -691,7 +691,7 @@ void sal_error_info_set(SalErrorInfo *ei, SalReason reason, int code, const char ...@@ -691,7 +691,7 @@ void sal_error_info_set(SalErrorInfo *ei, SalReason reason, int code, const char
/*entity tag used for publish (see RFC 3903)*/ /*entity tag used for publish (see RFC 3903)*/
const char *sal_op_get_entity_tag(const SalOp* op); const char *sal_op_get_entity_tag(const SalOp* op);
void sal_op_set_entity_tag(SalOp *op, const char* entity_tag); void sal_op_set_entity_tag(SalOp *op, const char* entity_tag);
/*Call API*/ /*Call API*/
int sal_call_set_local_media_description(SalOp *h, SalMediaDescription *desc); int sal_call_set_local_media_description(SalOp *h, SalMediaDescription *desc);
int sal_call(SalOp *h, const char *from, const char *to); int sal_call(SalOp *h, const char *from, const char *to);
...@@ -750,7 +750,7 @@ int sal_notify_presence_close(SalOp *op); ...@@ -750,7 +750,7 @@ int sal_notify_presence_close(SalOp *op);
/*presence publish */ /*presence publish */
//int sal_publish_presence(SalOp *op, const char *from, const char *to, int expires, SalPresenceModel *presence); //int sal_publish_presence(SalOp *op, const char *from, const char *to, int expires, SalPresenceModel *presence);
SalBodyHandler *sal_presence_model_create_body_handler(SalPresenceModel *presence); SalBodyHandler *sal_presence_model_create_body_handler(SalPresenceModel *presence);
/*ping: main purpose is to obtain its own contact address behind firewalls*/ /*ping: main purpose is to obtain its own contact address behind firewalls*/
int sal_ping(SalOp *op, const char *from, const char *to); int sal_ping(SalOp *op, const char *from, const char *to);
...@@ -767,7 +767,7 @@ int sal_notify(SalOp *op, const SalBodyHandler *body); ...@@ -767,7 +767,7 @@ int sal_notify(SalOp *op, const SalBodyHandler *body);
int sal_notify_close(SalOp *op); int sal_notify_close(SalOp *op);
int sal_publish(SalOp *op, const char *from, const char *to, const char*event_name, int expires, const SalBodyHandler *body); int sal_publish(SalOp *op, const char *from, const char *to, const char*event_name, int expires, const SalBodyHandler *body);
int sal_op_unpublish(SalOp *op); int sal_op_unpublish(SalOp *op);
/*privacy, must be in sync with LinphonePrivacyMask*/ /*privacy, must be in sync with LinphonePrivacyMask*/
typedef enum _SalPrivacy { typedef enum _SalPrivacy {
SalPrivacyNone=0x0, SalPrivacyNone=0x0,
...@@ -796,7 +796,7 @@ typedef void (*SalResolverCallback)(void *data, const char *name, struct addrinf ...@@ -796,7 +796,7 @@ typedef void (*SalResolverCallback)(void *data, const char *name, struct addrinf
typedef struct SalResolverContext SalResolverContext; typedef struct SalResolverContext SalResolverContext;
SalResolverContext * sal_resolve_a(Sal* sal, const char *name, int port, int family, SalResolverCallback cb, void *data); LINPHONE_PUBLIC SalResolverContext * sal_resolve_a(Sal* sal, const char *name, int port, int family, SalResolverCallback cb, void *data);
//void sal_resolve_cancel(Sal *sal, SalResolverContext *ctx); //void sal_resolve_cancel(Sal *sal, SalResolverContext *ctx);
SalCustomHeader *sal_custom_header_append(SalCustomHeader *ch, const char *name, const char *value); SalCustomHeader *sal_custom_header_append(SalCustomHeader *ch, const char *name, const char *value);
......
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