mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srs_core.cpp
This commit is contained in:
parent
67d96fcab4
commit
78c69016ba
5 changed files with 6 additions and 1 deletions
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -82,7 +82,7 @@ LibSTfile="${LibSTRoot}/libst.a"
|
||||||
MODULE_ID="CORE"
|
MODULE_ID="CORE"
|
||||||
MODULE_DEPENDS=()
|
MODULE_DEPENDS=()
|
||||||
ModuleLibIncs=(${LibSTRoot})
|
ModuleLibIncs=(${LibSTRoot})
|
||||||
MODULE_FILES=("srs_core_log")
|
MODULE_FILES=("srs_core" "srs_core_log")
|
||||||
MODULE_DIR="src/core" . auto/modules.sh
|
MODULE_DIR="src/core" . auto/modules.sh
|
||||||
CORE_OBJS="${MODULE_OBJS[@]}"
|
CORE_OBJS="${MODULE_OBJS[@]}"
|
||||||
|
|
||||||
|
|
1
trunk/src/core/srs_core.cpp
Executable file
1
trunk/src/core/srs_core.cpp
Executable file
|
@ -0,0 +1 @@
|
||||||
|
#include <srs_core.hpp>
|
|
@ -5,6 +5,8 @@
|
||||||
#include <srs_core.hpp>
|
#include <srs_core.hpp>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// user must include the srs_core.hpp before any header.
|
||||||
|
|
||||||
// for int64_t print using PRId64 format.
|
// for int64_t print using PRId64 format.
|
||||||
#ifndef __STDC_FORMAT_MACROS
|
#ifndef __STDC_FORMAT_MACROS
|
||||||
#define __STDC_FORMAT_MACROS
|
#define __STDC_FORMAT_MACROS
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
// the context for multiple clients.
|
||||||
class ILogContext
|
class ILogContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -3,6 +3,7 @@ file
|
||||||
..\main\srs_main_server.cpp,
|
..\main\srs_main_server.cpp,
|
||||||
core readonly separator,
|
core readonly separator,
|
||||||
..\core\srs_core.hpp,
|
..\core\srs_core.hpp,
|
||||||
|
..\core\srs_core.cpp,
|
||||||
..\core\srs_core_log.hpp,
|
..\core\srs_core_log.hpp,
|
||||||
..\core\srs_core_log.cpp;
|
..\core\srs_core_log.cpp;
|
||||||
mainconfig
|
mainconfig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue