mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge from wenjie, support banwidth test.
This commit is contained in:
parent
df96b237b8
commit
9455181790
15 changed files with 971 additions and 19 deletions
11
trunk/src/core/srs_core.hpp
Executable file → Normal file
11
trunk/src/core/srs_core.hpp
Executable file → Normal file
|
@ -107,4 +107,15 @@ extern void srs_vhost_resolve(std::string& vhost, std::string& app);
|
|||
// close the netfd, and close the underlayer fd.
|
||||
extern void srs_close_stfd(st_netfd_t& stfd);
|
||||
|
||||
/**
|
||||
* disable copy constructor of class
|
||||
*/
|
||||
#define disable_default_copy(className)\
|
||||
private:\
|
||||
/** \
|
||||
* disable the copy constructor and operator=, donot allow directly copy. \
|
||||
*/ \
|
||||
className(const className&); \
|
||||
className& operator= (const className&)
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue