dsmpcc.h

来自「Simple Module Procedure Call for windows」· C头文件 代码 · 共 53 行

H
53
字号
////	(S)imple (M)odule (P)rocedure (C)all////  Version 1.1.3////	SIC Dynamics	Copyright(C) - 1999////  SMPC C API//#ifndef __DSMPCC_H#define __DSMPCC_H#include <smpc/dsmpcdef.h>// SMPC protocoltypedef void*	Smpc;// SMPC servertypedef struct _smpc_server { dword type;	// service type char* about;	// service about text int  (*serv)(struct _smpc_server*, dword, void*, dword, void*, dword*); void (*post)(struct _smpc_server*, dword, int); void (*kill)(struct _smpc_server*);} SmpcServer;#ifdef __cplusplusextern "C" {#endif// SMPC protocol functionsextern const char* cdecl smpc_error(int);extern Smpc cdecl smpc_create(void);extern void cdecl smpc_delete(Smpc);// SMPC client functionsextern int cdecl smpc_call(Smpc, dword, dword*, dword, DSmpcParam*, dword, DSmpcParam*, dword);extern int cdecl smpc_about(Smpc, dword, dword*, char*, dword);// SMPC server functionsextern int cdecl smpc_add(Smpc, dword, SmpcServer*);extern int cdecl smpc_sub(Smpc, dword);extern int cdecl smpc_sid(Smpc, dword, dword);extern int cdecl smpc_run(Smpc);#ifdef __cplusplus};#endif#endif

⌨️ 快捷键说明

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