Liblinphone  3.12.0
Data Structures | Macros | Typedefs | Enumerations | Functions
Initializing

Initializing liblinphone. More...

Data Structures

struct  _LinphoneCoreVTable
 This structure holds all callbacks that the application should implement. More...
 

Macros

#define LINPHONE_CORE(object)   BELLE_SIP_CAST(object, LinphoneCore)
 Safely down-cast a belle_sip_object_t into LinphoneCore.
 
#define LC_SIP_TRANSPORT_DISABLED   0
 Disable a sip transport Use with #LinphoneSipTransports.
 
#define LC_SIP_TRANSPORT_RANDOM   (-1)
 Randomly chose a sip port for this transport Use with #LinphoneSipTransports.
 
#define LC_SIP_TRANSPORT_DONTBIND   (-2)
 Don't create any server socket for this transport, ie don't bind on any port. More...
 

Typedefs

typedef void(* LinphoneCoreCbsCallCreatedCb) (LinphoneCore *lc, LinphoneCall *call)
 Callback notifying that a new LinphoneCall (either incoming or outgoing) has been created. More...
 
typedef void(* LinphoneCoreCbsGlobalStateChangedCb) (LinphoneCore *lc, LinphoneGlobalState gstate, const char *message)
 Global state notification callback. More...
 
typedef LinphoneCoreCbsGlobalStateChangedCb LinphoneCoreGlobalStateChangedCb
 Old name of LinphoneCoreCbsGlobalStateChangedCb.
 
typedef void(* LinphoneCoreCbsCallStateChangedCb) (LinphoneCore *lc, LinphoneCall *call, LinphoneCallState cstate, const char *message)
 Call state notification callback. More...
 
typedef LinphoneCoreCbsCallStateChangedCb LinphoneCoreCallStateChangedCb
 Old name of LinphoneCoreCbsCallStateChangedCb.
 
typedef void(* LinphoneCoreCbsCallEncryptionChangedCb) (LinphoneCore *lc, LinphoneCall *call, bool_t on, const char *authentication_token)
 Call encryption changed callback. More...
 
typedef LinphoneCoreCbsCallEncryptionChangedCb LinphoneCoreCallEncryptionChangedCb
 Old name of LinphoneCoreCbsCallEncryptionChangedCb.
 
typedef void(* LinphoneCoreCbsRegistrationStateChangedCb) (LinphoneCore *lc, LinphoneProxyConfig *cfg, LinphoneRegistrationState cstate, const char *message)
 Registration state notification callback prototype.
 
typedef LinphoneCoreCbsRegistrationStateChangedCb LinphoneCoreRegistrationStateChangedCb
 Old name of LinphoneCoreCbsRegistrationStateChangedCb.
 
typedef void(* LinphoneCoreCbsNotifyPresenceReceivedCb) (LinphoneCore *lc, LinphoneFriend *lf)
 Report status change for a friend previously added to LinphoneCore. More...
 
typedef LinphoneCoreCbsNotifyPresenceReceivedCb LinphoneCoreNotifyPresenceReceivedCb
 Old name of LinphoneCoreCbsNotifyPresenceReceivedCb.
 
typedef void(* LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb) (LinphoneCore *lc, LinphoneFriend *lf, const char *uri_or_tel, const LinphonePresenceModel *presence_model)
 Reports presence model change for a specific URI or phone number of a friend. More...
 
typedef LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb LinphoneCoreNotifyPresenceReceivedForUriOrTelCb
 Old name of LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb.
 
typedef void(* LinphoneCoreCbsNewSubscriptionRequestedCb) (LinphoneCore *lc, LinphoneFriend *lf, const char *url)
 Reports that a new subscription request has been received and wait for a decision. More...
 
typedef LinphoneCoreCbsNewSubscriptionRequestedCb LinphoneCoreNewSubscriptionRequestedCb
 Old name of LinphoneCoreCbsNewSubscriptionRequestedCb.
 
typedef void(* LinphoneCoreAuthInfoRequestedCb) (LinphoneCore *lc, const char *realm, const char *username, const char *domain)
 Callback for requesting authentication information to application or user. More...
 
typedef void(* LinphoneCoreCbsAuthenticationRequestedCb) (LinphoneCore *lc, LinphoneAuthInfo *auth_info, LinphoneAuthMethod method)
 Callback for requesting authentication information to application or user. More...
 
typedef LinphoneCoreCbsAuthenticationRequestedCb LinphoneCoreAuthenticationRequestedCb
 Old name of LinphoneCoreCbsAuthenticationRequestedCb.
 
typedef void(* LinphoneCoreCbsCallLogUpdatedCb) (LinphoneCore *lc, LinphoneCallLog *newcl)
 Callback to notify a new call-log entry has been added. More...
 
typedef LinphoneCoreCbsCallLogUpdatedCb LinphoneCoreCallLogUpdatedCb
 Old name of LinphoneCoreCbsCallLogUpdatedCb.
 
typedef void(* LinphoneCoreTextMessageReceivedCb) (LinphoneCore *lc, LinphoneChatRoom *room, const LinphoneAddress *from, const char *message)
 Callback prototype. More...
 
typedef void(* LinphoneCoreCbsMessageReceivedCb) (LinphoneCore *lc, LinphoneChatRoom *room, LinphoneChatMessage *message)
 Chat message callback prototype. More...
 
typedef LinphoneCoreCbsMessageReceivedCb LinphoneCoreMessageReceivedCb
 Old name of LinphoneCoreCbsMessageReceivedCb.
 
typedef void(* LinphoneCoreCbsMessageReceivedUnableDecryptCb) (LinphoneCore *lc, LinphoneChatRoom *room, LinphoneChatMessage *message)
 Chat message not decrypted callback prototype. More...
 
typedef void(* LinphoneCoreFileTransferRecvCb) (LinphoneCore *lc, LinphoneChatMessage *message, const LinphoneContent *content, const char *buff, size_t size)
 File transfer receive callback prototype. More...
 
typedef void(* LinphoneCoreFileTransferSendCb) (LinphoneCore *lc, LinphoneChatMessage *message, const LinphoneContent *content, char *buff, size_t *size)
 File transfer send callback prototype. More...
 
typedef void(* LinphoneCoreFileTransferProgressIndicationCb) (LinphoneCore *lc, LinphoneChatMessage *message, const LinphoneContent *content, size_t offset, size_t total)
 File transfer progress indication callback prototype. More...
 
typedef void(* LinphoneCoreCbsIsComposingReceivedCb) (LinphoneCore *lc, LinphoneChatRoom *room)
 Is composing notification callback prototype. More...
 
typedef LinphoneCoreCbsIsComposingReceivedCb LinphoneCoreIsComposingReceivedCb
 Old name of LinphoneCoreCbsIsComposingReceivedCb.
 
typedef void(* LinphoneCoreCbsDtmfReceivedCb) (LinphoneCore *lc, LinphoneCall *call, int dtmf)
 Callback for being notified of DTMFs received. More...
 
typedef LinphoneCoreCbsDtmfReceivedCb LinphoneCoreDtmfReceivedCb
 Old name of LinphoneCoreCbsDtmfReceivedCb.
 
typedef void(* LinphoneCoreCbsReferReceivedCb) (LinphoneCore *lc, const char *refer_to)
 Callback prototype.
 
typedef LinphoneCoreCbsReferReceivedCb LinphoneCoreReferReceivedCb
 Old name of LinphoneCoreCbsReferReceivedCb.
 
typedef void(* LinphoneCoreCbsBuddyInfoUpdatedCb) (LinphoneCore *lc, LinphoneFriend *lf)
 Callback prototype.
 
typedef LinphoneCoreCbsBuddyInfoUpdatedCb LinphoneCoreBuddyInfoUpdatedCb
 Old name of LinphoneCoreCbsBuddyInfoUpdatedCb.
 
typedef void(* LinphoneCoreCbsTransferStateChangedCb) (LinphoneCore *lc, LinphoneCall *transfered, LinphoneCallState new_call_state)
 Callback for notifying progresses of transfers. More...
 
typedef LinphoneCoreCbsTransferStateChangedCb LinphoneCoreTransferStateChangedCb
 Old name of LinphoneCoreCbsTransferStateChangedCb.