X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=coreapi%2Flinphonecore.h;h=37001d367a4663dd5ce8c5369aa6da8f41a91a44;hb=9f58698136035018a6dbc34a6c449de762f89232;hp=f1a9174c8e3ad0c03447d8a01ad6e053e7676359;hpb=7d07ca75e745d5fc29e3f5687b5eed17a2e54135;p=linphone diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index f1a9174c..37001d36 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -37,26 +37,40 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern "C" { #endif -struct _MSSndCard; struct _LinphoneCore; /** * Linphone core main object created by function linphone_core_new() . * @ingroup initializing */ typedef struct _LinphoneCore LinphoneCore; -struct SalOp; struct _LpConfig; -struct _LCSipTransports{ +/** + * Linphone core SIP transport ports. + * Use with #linphone_core_set_sip_transports + * @ingroup initializing + */ +typedef struct _LCSipTransports{ + /** + * udp port to listening on, negative value if not set + * */ int udp_port; + /** + * tcp port to listening on, negative value if not set + * */ int tcp_port; + /** + * dtls port to listening on, negative value if not set + * */ int dtls_port; + /** + * tls port to listening on, negative value if not set + * */ int tls_port; -}; +} LCSipTransports; -typedef struct _LCSipTransports LCSipTransports; /** * Object that represents a SIP address. @@ -141,24 +155,7 @@ typedef enum _LinphoneCallStatus { * @ingroup call_logs * **/ -typedef struct _LinphoneCallLog{ - LinphoneCallDir dir; /**< The direction of the call*/ - LinphoneCallStatus status; /**< The status of the call*/ - LinphoneAddress *from; /**