plora.h

来自「获取unix系统进程信息的功能」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef PLORA_H
#define	PLORA_H

#ifdef	__cplusplus
extern "C" {
#endif

#ifdef WIN32
#include <windows.h>
#endif

#ifdef WIN32
#define PLUGIN_API __declspec(dllexport)
#else
#define PLUGIN_API 
#endif


#ifdef WIN32
PLUGIN_API int exstart(int sock, HANDLE fd, const char *sArg, void **out);
#else
PLUGIN_API int exstart(int sock, int fd, const char *sArg, void **out);	
#endif

#ifdef WIN32
PLUGIN_API int exend(int sock, HANDLE fd, const char *sArg, void *in);
#else
PLUGIN_API int exend(int sock, int fd, const char *sArg, void *in);	
#endif

#ifdef WIN32
PLUGIN_API int exproc(int sock, HANDLE fd, const char *sArg, void *in);
#else
PLUGIN_API int exproc(int sock, int fd, const char *sArg, void *in);
#endif

#ifdef	__cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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