⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vodserver.h

📁 是自己开发的程序
💻 H
字号:
#ifndef __SERVER_H__
#define __SERVER_H__

#ifdef __cplusplus
	#define SERVER_API extern "C" 
#else
	#define SERVER_API
#endif

enum SERVER_STATE
{
	StartingUpState,        
	RunningState,           
	RefusingConnectionsState,
	FatalErrorState,     
	ShuttingDownState
};

SERVER_API int InitStreamServerLib(void);
SERVER_API int FiniStreamServerLib(void);

SERVER_API int StartServer(const char* path);
SERVER_API int RunServer();
SERVER_API int RunServerLoop();
SERVER_API int StopServer();
SERVER_API int GetServerState();
SERVER_API int GetCurConnection();
SERVER_API int VodCreateIndex(char *filename,char len); //len: the size of the filename



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -