diff --git a/coreapi/private.h b/coreapi/private.h index ae57efc0c..c08bcfc3c 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -515,7 +515,7 @@ void linphone_proxy_config_update(LinphoneProxyConfig *cfg); LinphoneProxyConfig * linphone_core_lookup_known_proxy(LinphoneCore *lc, const LinphoneAddress *uri); 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); -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); void linphone_proxy_config_write_to_config_file(struct _LpConfig* config,LinphoneProxyConfig *obj, int index); diff --git a/include/sal/sal.h b/include/sal/sal.h index d290134f7..666af4fad 100644 --- a/include/sal/sal.h +++ b/include/sal/sal.h @@ -354,7 +354,7 @@ typedef struct SalOpBase{ SalAddress* service_route; /*as defined by rfc3608, might be a list*/ SalCustomHeader *sent_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; @@ -645,7 +645,7 @@ void sal_op_set_to_address(SalOp *op, const SalAddress *to); SalOp *sal_op_ref(SalOp* h); void sal_op_stop_refreshing(SalOp *op); int sal_op_refresh(SalOp *op); - + void sal_op_release(SalOp *h); /*same as release, but does not stop refresher if any*/ void* sal_op_unref(SalOp* op); @@ -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)*/ const char *sal_op_get_entity_tag(const SalOp* op); void sal_op_set_entity_tag(SalOp *op, const char* entity_tag); - + /*Call API*/ int sal_call_set_local_media_description(SalOp *h, SalMediaDescription *desc); int sal_call(SalOp *h, const char *from, const char *to); @@ -750,7 +750,7 @@ int sal_notify_presence_close(SalOp *op); /*presence publish */ //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); - + /*ping: main purpose is to obtain its own contact address behind firewalls*/ int sal_ping(SalOp *op, const char *from, const char *to); @@ -767,7 +767,7 @@ int sal_notify(SalOp *op, const SalBodyHandler *body); 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_op_unpublish(SalOp *op); - + /*privacy, must be in sync with LinphonePrivacyMask*/ typedef enum _SalPrivacy { SalPrivacyNone=0x0, @@ -796,7 +796,7 @@ typedef void (*SalResolverCallback)(void *data, const char *name, struct addrinf 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); SalCustomHeader *sal_custom_header_append(SalCustomHeader *ch, const char *name, const char *value);