old mode 100644
new mode 100755
| | |
| | | |
| | | /** |
| | | * Acquire a reference to the LinphoneImEncryptionEngineCbs. |
| | | * @param[in] cbs #LinphoneImEncryptionEngineCbs object. |
| | | * @param cbs #LinphoneImEncryptionEngineCbs object. |
| | | * @return The same #LinphoneImEncryptionEngineCbs object. |
| | | * @donotwrap |
| | | **/ |
| | |
| | | |
| | | /** |
| | | * Release reference to the LinphoneImEncryptionEngineCbs. |
| | | * @param[in] cbs #LinphoneImEncryptionEngineCbs object. |
| | | * @param cbs #LinphoneImEncryptionEngineCbs object. |
| | | * @donotwrap |
| | | **/ |
| | | void linphone_im_encryption_engine_cbs_unref(LinphoneImEncryptionEngineCbs *cbs); |
| | | |
| | | /** |
| | | * Gets the user data in the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs |
| | | * @return the user data |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the user data in the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] data the user data |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param data the user data |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_user_data(LinphoneImEncryptionEngineCbs *cbs, void *data); |
| | | |
| | | /** |
| | | * Acquire a reference to the LinphoneImEncryptionEngine. |
| | | * @param[in] imee #LinphoneImEncryptionEngine object. |
| | | * @param imee #LinphoneImEncryptionEngine object. |
| | | * @return The same #LinphoneImEncryptionEngine object. |
| | | * @donotwrap |
| | | **/ |
| | |
| | | |
| | | /** |
| | | * Release reference to the LinphoneImEncryptionEngine. |
| | | * @param[in] imee #LinphoneImEncryptionEngine object. |
| | | * @param imee #LinphoneImEncryptionEngine object. |
| | | * @donotwrap |
| | | **/ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_unref(LinphoneImEncryptionEngine *imee); |
| | | |
| | | /** |
| | | * Gets the user data in the #LinphoneImEncryptionEngine object |
| | | * @param[in] imee the #LinphoneImEncryptionEngine |
| | | * @param imee the #LinphoneImEncryptionEngine |
| | | * @return the user data |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the user data in the #LinphoneImEncryptionEngine object |
| | | * @param[in] imee the #LinphoneImEncryptionEngine object |
| | | * @param[in] data the user data |
| | | * @param imee the #LinphoneImEncryptionEngine object |
| | | * @param data the user data |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_set_user_data(LinphoneImEncryptionEngine *imee, void *data); |
| | | |
| | | /** |
| | | * Gets the #LinphoneCore object that created the IM encryption engine |
| | | * @param[in] imee #LinphoneImEncryptionEngine object |
| | | * @param imee #LinphoneImEncryptionEngine object |
| | | * @return The #LinphoneCore object that created the IM encryption engine |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Gets the #LinphoneImEncryptionEngineCbs object that holds the callbacks |
| | | * @param[in] imee the #LinphoneImEncryptionEngine object |
| | | * @param imee the #LinphoneImEncryptionEngine object |
| | | * @return the #LinphoneImEncryptionEngineCbs object |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Gets the callback that will decrypt the chat messages upon reception |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @return the callback |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the callback that will decrypt the chat messages upon reception |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cb the callback to call |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cb the callback to call |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_process_incoming_message(LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsIncomingMessageCb cb); |
| | | |
| | | /** |
| | | * Gets the callback that will encrypt the chat messages before sending them |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @return the callback |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the callback that will encrypt the chat messages before sending them |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cb the callback to call |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cb the callback to call |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_process_outgoing_message(LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsOutgoingMessageCb cb); |
| | | |
| | | /** |
| | | * Gets the callback that will decrypt the files while downloading them |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @return the callback |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the callback that will decrypt the files while downloading them |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cb the callback to call |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cb the callback to call |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_process_downloading_file(LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsDownloadingFileCb cb); |
| | | |
| | | /** |
| | | * Gets the callback that will will encrypt the files while uploading them |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @return the callback |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the callback that will encrypt the files while uploading them |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cb the callback to call |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cb the callback to call |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_process_uploading_file(LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsUploadingFileCb cb); |
| | | |
| | | /** |
| | | * Gets the callback telling whether or not to encrypt the files |
| | | * @param[in] cbs the LinphoneImEncryptionEngineCbs object |
| | | * @param cbs the LinphoneImEncryptionEngineCbs object |
| | | * @return the callback |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the callback telling whether or not to encrypt the files |
| | | * @param[in] cbs the LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cb the callback to call |
| | | * @param cbs the LinphoneImEncryptionEngineCbs object |
| | | * @param cb the callback to call |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_is_encryption_enabled_for_file_transfer(LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsIsEncryptionEnabledForFileTransferCb cb); |
| | | |
| | | /** |
| | | * Gets the callback that will generate the key to encrypt the file before uploading it |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @return the callback |
| | | * @donotwrap |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Sets the callback that will generate the key to encrypt the file before uploading it |
| | | * @param[in] cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param[in] cb the callback to call |
| | | * @param cbs the #LinphoneImEncryptionEngineCbs object |
| | | * @param cb the callback to call |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_generate_file_transfer_key(LinphoneImEncryptionEngineCbs *cbs, LinphoneImEncryptionEngineCbsGenerateFileTransferKeyCb cb); |
| | | |
| | | /** Set a chat message text to be sent by #linphone_chat_room_send_message |
| | | * @param[in] msg #LinphoneChatMessage |
| | | * @param[in] text Const char * |
| | | * @returns 0 if succeed. |
| | | * @donotwrap |
| | | */ |
| | | LINPHONE_PUBLIC int linphone_chat_message_set_text(LinphoneChatMessage *msg, const char* text); |
| | | |
| | | /** |
| | | * Create the IM encryption engine |