Commit f5a75c9d authored by Ronan's avatar Ronan

feat(include): add some missing _L prefixes

parent 7c9d810e
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_ADDRESS_H_
#define _C_ADDRESS_H_
#ifndef _L_C_ADDRESS_H_
#define _L_C_ADDRESS_H_
#include "linphone/api/c-types.h"
......@@ -283,4 +283,4 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC bool_t linphone_address_is_secure (const Lin
}
#endif // ifdef __cplusplus
#endif // ifndef _C_ADDRESS_H_
#endif // ifndef _L_C_ADDRESS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_API_H_
#define _C_API_H_
#ifndef _L_C_API_H_
#define _L_C_API_H_
#include "linphone/utils/general.h"
......@@ -36,4 +36,4 @@
#include "linphone/api/c-participant.h"
#include "linphone/api/c-types.h"
#endif // ifndef _C_API_H_
#endif // ifndef _L_C_API_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CALL_CBS_H_
#define _C_CALL_CBS_H_
#ifndef _L_C_CALL_CBS_H_
#define _L_C_CALL_CBS_H_
#include "linphone/api/c-callbacks.h"
#include "linphone/api/c-types.h"
......@@ -167,4 +167,4 @@ LINPHONE_PUBLIC void linphone_call_cbs_set_ack_processing (LinphoneCallCbs *cbs,
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CALL_CBS_H_
#endif // ifndef _L_C_CALL_CBS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CALL_STATS_H_
#define _C_CALL_STATS_H_
#ifndef _L_C_CALL_STATS_H_
#define _L_C_CALL_STATS_H_
#include <ortp/rtp.h>
......@@ -199,4 +199,4 @@ LINPHONE_PUBLIC float linphone_call_stats_get_round_trip_delay (const LinphoneCa
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CALL_STATS_H_
#endif // ifndef _L_C_CALL_STATS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CALL_H_
#define _C_CALL_H_
#ifndef _L_C_CALL_H_
#define _L_C_CALL_H_
#include <ortp/rtpsession.h>
......@@ -773,7 +773,7 @@ LINPHONE_PUBLIC LinphoneCallCbs *linphone_call_get_current_callbacks(const Linph
/**
* Set call parameters - advanced and not recommended feature - use with caution.
* Local call parameters applicable to an outgoing or incoming shall usually be passed to linphone_core_invite_address_with_params() or
* Local call parameters applicable to an outgoing or incoming shall usually be passed to linphone_core_invite_address_with_params() or
* linphone_call_accept_with_params().
* However, in some cases it might be desirable from a software design standpoint to modify local parameters outside of the application layer, typically
* in the purpose of implementing a custom logic including special headers in INVITE or 200Ok requests, driven by a call_state_changed listener method.
......@@ -799,4 +799,4 @@ LINPHONE_PUBLIC const LinphoneCallParams * linphone_call_get_params(LinphoneCall
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CALL_H_
#endif // ifndef _L_C_CALL_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CALLBACKS_H_
#define _C_CALLBACKS_H_
#ifndef _L_C_CALLBACKS_H_
#define _L_C_CALLBACKS_H_
// TODO: Remove me in the future.
#include "linphone/callbacks.h"
......@@ -257,4 +257,4 @@ typedef void (*LinphoneChatRoomCbsParticipantsCapabilitiesCheckedCb) (LinphoneCh
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CALLBACKS_H_
#endif // ifndef _L_C_CALLBACKS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CHAT_MESSAGE_CBS_H_
#define _C_CHAT_MESSAGE_CBS_H_
#ifndef _L_C_CHAT_MESSAGE_CBS_H_
#define _L_C_CHAT_MESSAGE_CBS_H_
#include "linphone/api/c-callbacks.h"
#include "linphone/api/c-types.h"
......@@ -33,7 +33,7 @@
* @addtogroup chatroom
* @{
*/
LinphoneChatMessageCbs *linphone_chat_message_cbs_new(void);
/**
......@@ -69,55 +69,55 @@ LINPHONE_PUBLIC void linphone_chat_message_cbs_set_user_data (LinphoneChatMessag
* @return The current message state changed callback.
*/
LINPHONE_PUBLIC LinphoneChatMessageCbsMsgStateChangedCb linphone_chat_message_cbs_get_msg_state_changed(const LinphoneChatMessageCbs *cbs);
/**
* Set the message state changed callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @param[in] cb The message state changed callback to be used.
*/
LINPHONE_PUBLIC void linphone_chat_message_cbs_set_msg_state_changed(LinphoneChatMessageCbs *cbs, LinphoneChatMessageCbsMsgStateChangedCb cb);
/**
* Get the file transfer receive callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @return The current file transfer receive callback.
*/
LINPHONE_PUBLIC LinphoneChatMessageCbsFileTransferRecvCb linphone_chat_message_cbs_get_file_transfer_recv(const LinphoneChatMessageCbs *cbs);
/**
* Set the file transfer receive callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @param[in] cb The file transfer receive callback to be used.
*/
LINPHONE_PUBLIC void linphone_chat_message_cbs_set_file_transfer_recv(LinphoneChatMessageCbs *cbs, LinphoneChatMessageCbsFileTransferRecvCb cb);
/**
* Get the file transfer send callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @return The current file transfer send callback.
*/
LINPHONE_PUBLIC LinphoneChatMessageCbsFileTransferSendCb linphone_chat_message_cbs_get_file_transfer_send(const LinphoneChatMessageCbs *cbs);
/**
* Set the file transfer send callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @param[in] cb The file transfer send callback to be used.
*/
LINPHONE_PUBLIC void linphone_chat_message_cbs_set_file_transfer_send(LinphoneChatMessageCbs *cbs, LinphoneChatMessageCbsFileTransferSendCb cb);
/**
* Get the file transfer progress indication callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @return The current file transfer progress indication callback.
*/
LINPHONE_PUBLIC LinphoneChatMessageCbsFileTransferProgressIndicationCb linphone_chat_message_cbs_get_file_transfer_progress_indication(const LinphoneChatMessageCbs *cbs);
/**
* Set the file transfer progress indication callback.
* @param[in] cbs LinphoneChatMessageCbs object.
* @param[in] cb The file transfer progress indication callback to be used.
*/
LINPHONE_PUBLIC void linphone_chat_message_cbs_set_file_transfer_progress_indication(LinphoneChatMessageCbs *cbs, LinphoneChatMessageCbsFileTransferProgressIndicationCb cb);
LINPHONE_PUBLIC void linphone_chat_message_cbs_set_file_transfer_progress_indication(LinphoneChatMessageCbs *cbs, LinphoneChatMessageCbsFileTransferProgressIndicationCb cb);
/**
* @}
......@@ -127,4 +127,4 @@ LINPHONE_PUBLIC void linphone_chat_message_cbs_set_user_data (LinphoneChatMessag
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CHAT_MESSAGE_H_
#endif // ifndef _L_C_CHAT_MESSAGE_CBS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CHAT_MESSAGE_H_
#define _C_CHAT_MESSAGE_H_
#ifndef _L_C_CHAT_MESSAGE_H_
#define _L_C_CHAT_MESSAGE_H_
#include "linphone/api/c-types.h"
#include "linphone/api/c-chat-message-cbs.h"
......@@ -355,4 +355,4 @@ LINPHONE_PUBLIC const char* linphone_chat_message_get_text_content(const Linphon
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CHAT_MESSAGE_H_
#endif // ifndef _L_C_CHAT_MESSAGE_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CHAT_ROOM_CBS_H_
#define _C_CHAT_ROOM_CBS_H_
#ifndef _L_C_CHAT_ROOM_CBS_H_
#define _L_C_CHAT_ROOM_CBS_H_
#include "linphone/api/c-callbacks.h"
#include "linphone/api/c-types.h"
......@@ -279,4 +279,4 @@ LINPHONE_PUBLIC void linphone_chat_room_cbs_set_participants_capabilities_checke
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CHAT_ROOM_H_
#endif // ifndef _L_C_CHAT_ROOM_CBS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_CHAT_ROOM_H_
#define _C_CHAT_ROOM_H_
#ifndef _L_C_CHAT_ROOM_H_
#define _L_C_CHAT_ROOM_H_
#include "linphone/api/c-types.h"
......@@ -445,4 +445,4 @@ LINPHONE_PUBLIC LINPHONE_DEPRECATED void linphone_chat_room_destroy(LinphoneChat
}
#endif // ifdef __cplusplus
#endif // ifndef _C_CHAT_ROOM_H_
#endif // ifndef _L_C_CHAT_ROOM_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_DIAL_PLAN_H_
#define _C_DIAL_PLAN_H_
#ifndef _L_C_DIAL_PLAN_H_
#define _L_C_DIAL_PLAN_H_
#include "linphone/api/c-types.h"
......@@ -113,4 +113,4 @@ LINPHONE_PUBLIC bool_t linphone_dial_plan_is_generic(const LinphoneDialPlan *ccc
}
#endif // ifdef __cplusplus
#endif // ifndef _C_DIAL_PLAN_H_
#endif // ifndef _L_C_DIAL_PLAN_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_EVENT_LOG_H_
#define _C_EVENT_LOG_H_
#ifndef _L_C_EVENT_LOG_H_
#define _L_C_EVENT_LOG_H_
#include "linphone/api/c-types.h"
......@@ -159,4 +159,4 @@ LINPHONE_PUBLIC const char *linphone_event_log_get_subject (const LinphoneEventL
}
#endif // ifdef __cplusplus
#endif // ifndef _C_EVENT_LOG_H_
#endif // ifndef _L_C_EVENT_LOG_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_PARTICIPANT_H_
#define _C_PARTICIPANT_H_
#ifndef _L_C_PARTICIPANT_H_
#define _L_C_PARTICIPANT_H_
#include "linphone/api/c-types.h"
......@@ -79,4 +79,4 @@ LINPHONE_PUBLIC bool_t linphone_participant_is_admin (const LinphoneParticipant
}
#endif // ifdef __cplusplus
#endif // ifndef _C_PARTICIPANT_H_
#endif // ifndef _L_C_PARTICIPANT_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _C_TYPES_H_
#define _C_TYPES_H_
#ifndef _L_C_TYPES_H_
#define _L_C_TYPES_H_
// TODO: Remove me in the future.
#include "linphone/types.h"
......@@ -213,4 +213,4 @@ L_DECLARE_C_ENUM(EventLogType, L_ENUM_VALUES_EVENT_LOG_TYPE);
}
#endif // ifdef __cplusplus
#endif // ifndef _C_TYPES_H_
#endif // ifndef _L_C_TYPES_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _CALL_ENUMS_H_
#define _CALL_ENUMS_H_
#ifndef _L_CALL_ENUMS_H_
#define _L_CALL_ENUMS_H_
// =============================================================================
......@@ -71,4 +71,4 @@
#define LinphoneCallEarlyUpdatedByRemote LinphoneCallStateEarlyUpdatedByRemote
#define LinphoneCallEarlyUpdating LinphoneCallStateEarlyUpdating
#endif // ifndef _CALL_ENUMS_H_
#endif // ifndef _L_CALL_ENUMS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _CHAT_MESSAGE_ENUMS_H_
#define _CHAT_MESSAGE_ENUMS_H_
#ifndef _L_CHAT_MESSAGE_ENUMS_H_
#define _L_CHAT_MESSAGE_ENUMS_H_
// =============================================================================
......@@ -36,4 +36,4 @@
F(Incoming) \
F(Outgoing)
#endif // ifndef _CHAT_MESSAGE_ENUMS_H_
#endif // ifndef _L_CHAT_MESSAGE_ENUMS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _CHAT_ROOM_ENUMS_H_
#define _CHAT_ROOM_ENUMS_H_
#ifndef _L_CHAT_ROOM_ENUMS_H_
#define _L_CHAT_ROOM_ENUMS_H_
// =============================================================================
......@@ -38,4 +38,4 @@
F(Proxy, 1 << 3) \
F(Migratable, 1 << 4)
#endif // ifndef _CHAT_ROOM_ENUMS_H_
#endif // ifndef _L_CHAT_ROOM_ENUMS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _EVENT_LOG_ENUMS_H_
#define _EVENT_LOG_ENUMS_H_
#ifndef _L_EVENT_LOG_ENUMS_H_
#define _L_EVENT_LOG_ENUMS_H_
// =============================================================================
......@@ -37,4 +37,4 @@
F(ConferenceParticipantDeviceRemoved) \
F(ConferenceSubjectChanged)
#endif // ifndef _EVENT_LOG_ENUMS_H_
#endif // ifndef _L_EVENT_LOG_ENUMS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _ENUM_GENERATOR_H_
#define _ENUM_GENERATOR_H_
#ifndef _L_ENUM_GENERATOR_H_
#define _L_ENUM_GENERATOR_H_
#include "linphone/utils/magic-macros.h"
......@@ -109,4 +109,4 @@ struct IsDefinedEnum {
LINPHONE_END_NAMESPACE
#endif // ifndef _ENUM_GENERATOR_H_
#endif // ifndef _L_ENUM_GENERATOR_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _ENUM_MASK_H_
#define _ENUM_MASK_H_
#ifndef _L_ENUM_MASK_H_
#define _L_ENUM_MASK_H_
#include <initializer_list>
......@@ -150,4 +150,4 @@ private:
LINPHONE_END_NAMESPACE
#endif // ifndef _ENUM_MASK_H_
#endif // ifndef _L_ENUM_MASK_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _GENERAL_H_
#define _GENERAL_H_
#ifndef _L_GENERAL_H_
#define _L_GENERAL_H_
#ifdef __cplusplus
#include <type_traits>
......@@ -223,4 +223,4 @@ struct AddConstMirror<const T, U> {
LINPHONE_END_NAMESPACE
#endif // ifndef _GENERAL_H_
#endif // ifndef _L_GENERAL_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _MAGIC_MACROS_H_
#define _MAGIC_MACROS_H_
#ifndef _L_MAGIC_MACROS_H_
#define _L_MAGIC_MACROS_H_
#include "linphone/utils/general.h"
......@@ -284,4 +284,4 @@ LINPHONE_BEGIN_NAMESPACE
LINPHONE_END_NAMESPACE
#endif // ifndef _MAGIC_MACROS_H_
#endif // ifndef _L_MAGIC_MACROS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _TRAITS_H_
#define _TRAITS_H_
#ifndef _L_TRAITS_H_
#define _L_TRAITS_H_
#include "linphone/utils/general.h"
......@@ -54,4 +54,4 @@ struct IsMapContainer : Private::IsMapContainerImpl<T>::type {};
LINPHONE_END_NAMESPACE
#endif // ifndef _TRAITS_H_
#endif // ifndef _L_TRAITS_H_
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _UTILS_H_
#define _UTILS_H_
#ifndef _L_UTILS_H_
#define _L_UTILS_H_
#include <ctime>
#include <memory>
......@@ -122,4 +122,4 @@ namespace Utils {
LINPHONE_END_NAMESPACE
#endif // ifndef _UTILS_H_
#endif // ifndef _L_UTILS_H_
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