24#ifndef _SEAP_COMMAND_H
25#define _SEAP_COMMAND_H
31#include "_sexp-types.h"
32#include "_seap-types.h"
33#include "../../../common/util.h"
36#define SEAP_CMDCLASS_INT 1
37#define SEAP_CMDCLASS_USR 2
39#define SEAP_CMDFLAG_SYNC 0x01
40#define SEAP_CMDFLAG_ASYNC 0x00
41#define SEAP_CMDFLAG_REPLY 0x02
42#define SEAP_CMDFLAG_MASK 0xff
44#define SEAP_CMDTYPE_SYNC 1
45#define SEAP_CMDTYPE_ASYNC 2
47#define SEAP_CMDREG_LOCAL 0x00000001
48#define SEAP_CMDREG_USEARG 0x00000002
49#define SEAP_CMDREG_THREAD 0x00000004
51#define SEAP_EXEC_LOCAL 0x01
52#define SEAP_EXEC_LONLY 0x02
53#define SEAP_EXEC_GFIRST 0x04
54#define SEAP_EXEC_THREAD 0x08
55#define SEAP_EXEC_WQUEUE 0x10
56#define SEAP_EXEC_RECV 0x20
63 SEAP_cmdclass_t
class;
76#define SEAP_CMDTBL_LARGE 0x01
77#define SEAP_CMDTBL_LARGE_TRESHOLD 32
99#define SEAP_CMDTBL_ECOLL 1
104#define SEAP_CFLG_THREAD 0x01
105#define SEAP_CFLG_WATCH 0x02
108#include "seap-command-backendT.h"
121int SEAP_cmd_register(
SEAP_CTX_t *ctx, SEAP_cmdcode_t code, uint32_t flags, SEAP_cmdfn_t func, ...);
Definition _seap-types.h:51
Definition _seap-command.h:59
Definition _seap-command.h:110
Definition _seap-command.h:79
Definition _seap-types.h:41
Definition _seap-command.h:69
Definition sexp-types.h:82