Renamed include.hpp to common.hpp

This commit is contained in:
Paul-Louis Ageneau
2021-02-28 14:38:12 +01:00
parent 54d0cb898d
commit dbee42b099
48 changed files with 49 additions and 49 deletions

View File

@ -81,7 +81,7 @@ set(LIBDATACHANNEL_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/description.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/description.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/mediahandler.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/mediahandler.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/rtcpreceivingsession.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/rtcpreceivingsession.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/include.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/common.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/init.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/init.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/log.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/log.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/message.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/message.hpp

View File

@ -19,7 +19,7 @@
#ifndef RTC_CANDIDATE_H #ifndef RTC_CANDIDATE_H
#define RTC_CANDIDATE_H #define RTC_CANDIDATE_H
#include "include.hpp" #include "common.hpp"
#include <string> #include <string>

View File

@ -19,7 +19,7 @@
#ifndef RTC_CHANNEL_H #ifndef RTC_CHANNEL_H
#define RTC_CHANNEL_H #define RTC_CHANNEL_H
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include <atomic> #include <atomic>

View File

@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef RTC_INCLUDE_H #ifndef RTC_COMMON_H
#define RTC_INCLUDE_H #define RTC_COMMON_H
#ifndef RTC_ENABLE_MEDIA #ifndef RTC_ENABLE_MEDIA
#define RTC_ENABLE_MEDIA 1 #define RTC_ENABLE_MEDIA 1

View File

@ -19,7 +19,7 @@
#ifndef RTC_ICE_CONFIGURATION_H #ifndef RTC_ICE_CONFIGURATION_H
#define RTC_ICE_CONFIGURATION_H #define RTC_ICE_CONFIGURATION_H
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include <vector> #include <vector>

View File

@ -20,7 +20,7 @@
#define RTC_DATA_CHANNEL_H #define RTC_DATA_CHANNEL_H
#include "channel.hpp" #include "channel.hpp"
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include "queue.hpp" #include "queue.hpp"
#include "reliability.hpp" #include "reliability.hpp"

View File

@ -21,7 +21,7 @@
#define RTC_DESCRIPTION_H #define RTC_DESCRIPTION_H
#include "candidate.hpp" #include "candidate.hpp"
#include "include.hpp" #include "common.hpp"
#include <iostream> #include <iostream>
#include <map> #include <map>

View File

@ -19,7 +19,7 @@
#ifndef RTC_INIT_H #ifndef RTC_INIT_H
#define RTC_INIT_H #define RTC_INIT_H
#include "include.hpp" #include "common.hpp"
#include <mutex> #include <mutex>

View File

@ -35,7 +35,7 @@
#pragma warning(pop) #pragma warning(pop)
#endif #endif
#include "include.hpp" #include "common.hpp"
namespace rtc { namespace rtc {

View File

@ -20,7 +20,7 @@
#ifndef RTC_MEDIA_HANDLER_H #ifndef RTC_MEDIA_HANDLER_H
#define RTC_MEDIA_HANDLER_H #define RTC_MEDIA_HANDLER_H
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
namespace rtc { namespace rtc {

View File

@ -20,7 +20,7 @@
#if RTC_ENABLE_MEDIA #if RTC_ENABLE_MEDIA
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include "rtp.hpp" #include "rtp.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_MESSAGE_H #ifndef RTC_MESSAGE_H
#define RTC_MESSAGE_H #define RTC_MESSAGE_H
#include "include.hpp" #include "common.hpp"
#include "reliability.hpp" #include "reliability.hpp"
#include <functional> #include <functional>

View File

@ -21,7 +21,7 @@
#if RTC_ENABLE_MEDIA #if RTC_ENABLE_MEDIA
#include "include.hpp" #include "common.hpp"
namespace rtc { namespace rtc {

View File

@ -23,7 +23,7 @@
#include "configuration.hpp" #include "configuration.hpp"
#include "datachannel.hpp" #include "datachannel.hpp"
#include "description.hpp" #include "description.hpp"
#include "include.hpp" #include "common.hpp"
#include "init.hpp" #include "init.hpp"
#include "message.hpp" #include "message.hpp"
#include "reliability.hpp" #include "reliability.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_QUEUE_H #ifndef RTC_QUEUE_H
#define RTC_QUEUE_H #define RTC_QUEUE_H
#include "include.hpp" #include "common.hpp"
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>

View File

@ -19,7 +19,7 @@
#ifndef RTC_RELIABILITY_H #ifndef RTC_RELIABILITY_H
#define RTC_RELIABILITY_H #define RTC_RELIABILITY_H
#include "include.hpp" #include "common.hpp"
#include <chrono> #include <chrono>
#include <variant> #include <variant>

View File

@ -17,7 +17,7 @@
*/ */
// C++ API // C++ API
#include "include.hpp" #include "common.hpp"
#include "init.hpp" // for rtc::Cleanup() #include "init.hpp" // for rtc::Cleanup()
#include "log.hpp" #include "log.hpp"
// //

View File

@ -22,7 +22,7 @@
#if RTC_ENABLE_MEDIA #if RTC_ENABLE_MEDIA
#include "include.hpp" #include "common.hpp"
#include "mediahandler.hpp" #include "mediahandler.hpp"
#include "message.hpp" #include "message.hpp"
#include "rtp.hpp" #include "rtp.hpp"

View File

@ -21,7 +21,7 @@
#include "channel.hpp" #include "channel.hpp"
#include "description.hpp" #include "description.hpp"
#include "include.hpp" #include "common.hpp"
#include "mediahandler.hpp" #include "mediahandler.hpp"
#include "message.hpp" #include "message.hpp"
#include "queue.hpp" #include "queue.hpp"

View File

@ -22,7 +22,7 @@
#if RTC_ENABLE_WEBSOCKET #if RTC_ENABLE_WEBSOCKET
#include "channel.hpp" #include "channel.hpp"
#include "include.hpp" #include "common.hpp"
#include "init.hpp" #include "init.hpp"
#include "message.hpp" #include "message.hpp"
#include "queue.hpp" #include "queue.hpp"

View File

@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "include.hpp" #include "common.hpp"
#include "rtc.h" #include "rtc.h"

View File

@ -18,7 +18,7 @@
#include "datachannel.hpp" #include "datachannel.hpp"
#include "globals.hpp" #include "globals.hpp"
#include "include.hpp" #include "common.hpp"
#include "peerconnection.hpp" #include "peerconnection.hpp"
#include "impl/datachannel.hpp" #include "impl/datachannel.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_GLOBALS_H #ifndef RTC_GLOBALS_H
#define RTC_GLOBALS_H #define RTC_GLOBALS_H
#include "include.hpp" #include "common.hpp"
namespace rtc { namespace rtc {

View File

@ -21,7 +21,7 @@
#if RTC_ENABLE_WEBSOCKET #if RTC_ENABLE_WEBSOCKET
#include "include.hpp" #include "common.hpp"
namespace rtc::impl { namespace rtc::impl {

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_CERTIFICATE_H #ifndef RTC_IMPL_CERTIFICATE_H
#define RTC_IMPL_CERTIFICATE_H #define RTC_IMPL_CERTIFICATE_H
#include "include.hpp" #include "common.hpp"
#include "tls.hpp" #include "tls.hpp"
#include <future> #include <future>

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_CHANNEL_H #ifndef RTC_IMPL_CHANNEL_H
#define RTC_IMPL_CHANNEL_H #define RTC_IMPL_CHANNEL_H
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include <atomic> #include <atomic>

View File

@ -18,7 +18,7 @@
#include "datachannel.hpp" #include "datachannel.hpp"
#include "globals.hpp" #include "globals.hpp"
#include "include.hpp" #include "common.hpp"
#include "logcounter.hpp" #include "logcounter.hpp"
#include "peerconnection.hpp" #include "peerconnection.hpp"
#include "sctptransport.hpp" #include "sctptransport.hpp"

View File

@ -20,7 +20,7 @@
#define RTC_IMPL_DATA_CHANNEL_H #define RTC_IMPL_DATA_CHANNEL_H
#include "channel.hpp" #include "channel.hpp"
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include "peerconnection.hpp" #include "peerconnection.hpp"
#include "queue.hpp" #include "queue.hpp"

View File

@ -20,7 +20,7 @@
#define RTC_IMPL_DTLS_SRTP_TRANSPORT_H #define RTC_IMPL_DTLS_SRTP_TRANSPORT_H
#include "dtlstransport.hpp" #include "dtlstransport.hpp"
#include "include.hpp" #include "common.hpp"
#if RTC_ENABLE_MEDIA #if RTC_ENABLE_MEDIA

View File

@ -20,7 +20,7 @@
#define RTC_IMPL_DTLS_TRANSPORT_H #define RTC_IMPL_DTLS_TRANSPORT_H
#include "certificate.hpp" #include "certificate.hpp"
#include "include.hpp" #include "common.hpp"
#include "queue.hpp" #include "queue.hpp"
#include "tls.hpp" #include "tls.hpp"
#include "transport.hpp" #include "transport.hpp"

View File

@ -22,7 +22,7 @@
#include "candidate.hpp" #include "candidate.hpp"
#include "configuration.hpp" #include "configuration.hpp"
#include "description.hpp" #include "description.hpp"
#include "include.hpp" #include "common.hpp"
#include "peerconnection.hpp" #include "peerconnection.hpp"
#include "transport.hpp" #include "transport.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_SERVER_LOGCOUNTER_HPP #ifndef RTC_SERVER_LOGCOUNTER_HPP
#define RTC_SERVER_LOGCOUNTER_HPP #define RTC_SERVER_LOGCOUNTER_HPP
#include "include.hpp" #include "common.hpp"
#include "threadpool.hpp" #include "threadpool.hpp"
#include <atomic> #include <atomic>

View File

@ -22,7 +22,7 @@
#include "dtlstransport.hpp" #include "dtlstransport.hpp"
#include "globals.hpp" #include "globals.hpp"
#include "icetransport.hpp" #include "icetransport.hpp"
#include "include.hpp" #include "common.hpp"
#include "logcounter.hpp" #include "logcounter.hpp"
#include "peerconnection.hpp" #include "peerconnection.hpp"
#include "processor.hpp" #include "processor.hpp"

View File

@ -22,7 +22,7 @@
#include "datachannel.hpp" #include "datachannel.hpp"
#include "dtlstransport.hpp" #include "dtlstransport.hpp"
#include "icetransport.hpp" #include "icetransport.hpp"
#include "include.hpp" #include "common.hpp"
#include "sctptransport.hpp" #include "sctptransport.hpp"
#include "track.hpp" #include "track.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_PROCESSOR_H #ifndef RTC_IMPL_PROCESSOR_H
#define RTC_IMPL_PROCESSOR_H #define RTC_IMPL_PROCESSOR_H
#include "include.hpp" #include "common.hpp"
#include "init.hpp" #include "init.hpp"
#include "queue.hpp" #include "queue.hpp"
#include "threadpool.hpp" #include "threadpool.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_SCTP_TRANSPORT_H #ifndef RTC_IMPL_SCTP_TRANSPORT_H
#define RTC_IMPL_SCTP_TRANSPORT_H #define RTC_IMPL_SCTP_TRANSPORT_H
#include "include.hpp" #include "common.hpp"
#include "processor.hpp" #include "processor.hpp"
#include "queue.hpp" #include "queue.hpp"
#include "transport.hpp" #include "transport.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_TCP_TRANSPORT_H #ifndef RTC_IMPL_TCP_TRANSPORT_H
#define RTC_IMPL_TCP_TRANSPORT_H #define RTC_IMPL_TCP_TRANSPORT_H
#include "include.hpp" #include "common.hpp"
#include "queue.hpp" #include "queue.hpp"
#include "transport.hpp" #include "transport.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_THREADPOOL_H #ifndef RTC_IMPL_THREADPOOL_H
#define RTC_IMPL_THREADPOOL_H #define RTC_IMPL_THREADPOOL_H
#include "include.hpp" #include "common.hpp"
#include "init.hpp" #include "init.hpp"
#include <chrono> #include <chrono>

View File

@ -19,7 +19,7 @@
#ifndef RTC_TLS_H #ifndef RTC_TLS_H
#define RTC_TLS_H #define RTC_TLS_H
#include "include.hpp" #include "common.hpp"
#if USE_GNUTLS #if USE_GNUTLS

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_TLS_TRANSPORT_H #ifndef RTC_IMPL_TLS_TRANSPORT_H
#define RTC_IMPL_TLS_TRANSPORT_H #define RTC_IMPL_TLS_TRANSPORT_H
#include "include.hpp" #include "common.hpp"
#include "queue.hpp" #include "queue.hpp"
#include "tls.hpp" #include "tls.hpp"
#include "transport.hpp" #include "transport.hpp"

View File

@ -21,7 +21,7 @@
#include "channel.hpp" #include "channel.hpp"
#include "description.hpp" #include "description.hpp"
#include "include.hpp" #include "common.hpp"
#include "mediahandler.hpp" #include "mediahandler.hpp"
#if RTC_ENABLE_MEDIA #if RTC_ENABLE_MEDIA

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_TRANSPORT_H #ifndef RTC_IMPL_TRANSPORT_H
#define RTC_IMPL_TRANSPORT_H #define RTC_IMPL_TRANSPORT_H
#include "include.hpp" #include "common.hpp"
#include "message.hpp" #include "message.hpp"
#include <atomic> #include <atomic>

View File

@ -17,7 +17,7 @@
*/ */
#include "verifiedtlstransport.hpp" #include "verifiedtlstransport.hpp"
#include "include.hpp" #include "common.hpp"
#if RTC_ENABLE_WEBSOCKET #if RTC_ENABLE_WEBSOCKET

View File

@ -20,7 +20,7 @@
#include "websocket.hpp" #include "websocket.hpp"
#include "globals.hpp" #include "globals.hpp"
#include "include.hpp" #include "common.hpp"
#include "threadpool.hpp" #include "threadpool.hpp"
#include "tcptransport.hpp" #include "tcptransport.hpp"

View File

@ -22,7 +22,7 @@
#if RTC_ENABLE_WEBSOCKET #if RTC_ENABLE_WEBSOCKET
#include "channel.hpp" #include "channel.hpp"
#include "include.hpp" #include "common.hpp"
#include "init.hpp" #include "init.hpp"
#include "message.hpp" #include "message.hpp"
#include "queue.hpp" #include "queue.hpp"

View File

@ -19,7 +19,7 @@
#ifndef RTC_IMPL_WS_TRANSPORT_H #ifndef RTC_IMPL_WS_TRANSPORT_H
#define RTC_IMPL_WS_TRANSPORT_H #define RTC_IMPL_WS_TRANSPORT_H
#include "include.hpp" #include "common.hpp"
#include "transport.hpp" #include "transport.hpp"
#if RTC_ENABLE_WEBSOCKET #if RTC_ENABLE_WEBSOCKET

View File

@ -18,7 +18,7 @@
*/ */
#include "peerconnection.hpp" #include "peerconnection.hpp"
#include "include.hpp" #include "common.hpp"
#include "rtp.hpp" #include "rtp.hpp"
#include "impl/certificate.hpp" #include "impl/certificate.hpp"

View File

@ -20,7 +20,7 @@
#include "websocket.hpp" #include "websocket.hpp"
#include "globals.hpp" #include "globals.hpp"
#include "include.hpp" #include "common.hpp"
#include "impl/websocket.hpp" #include "impl/websocket.hpp"