Commit 3bc6ad4c by xiongziliang

Merge branch '2.0-alpha' of github.com:xiongziliang/ZLMediaKit into 2.0-alpha

parents f1b4a196 23560ac4
...@@ -74,6 +74,9 @@ API_EXPORT void API_CALL onAppExit(){ ...@@ -74,6 +74,9 @@ API_EXPORT void API_CALL onAppExit(){
cleaner::Destory(); cleaner::Destory();
} }
API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){ API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){
if(mINI::Instance().find(key) == mINI::Instance().end()){
WarnL << "key:" << key << " not existed!";
}
mINI::Instance()[key] = val; mINI::Instance()[key] = val;
} }
API_EXPORT int API_CALL initHttpServer(unsigned short port){ API_EXPORT int API_CALL initHttpServer(unsigned short port){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论