Annotation of OpenXM/src/oxc/sm.h, Revision 1.4
1.1 ohara 1: /* -*- mode: C -*- */
1.4 ! ohara 2: /* $OpenXM: OpenXM/src/oxc/sm.h,v 1.3 2000/11/28 18:11:42 ohara Exp $ */
1.1 ohara 3:
4: #ifndef _SM_ERRNO_H_
5: #define _SM_ERRNO_H_
6:
7: #include <ox_toolkit.h>
8:
9: #define ERRNO_SM_ILLEGAL 100
10: #define ERRNO_SM_LF_NOT_FOUND 101
11:
12: void push(cmo *ob);
13: cmo *pop();
14: void pops(int n);
15: void push_error(int errcode, cmo* pushback);
1.4 ! ohara 16: void sm_popCMO();
! 17: void sm_pops();
! 18: void sm_executeFunction();
! 19: void sm_mathcap();
! 20: void sm_set_mathcap();
! 21: int sm_control_spawn();
! 22: void sm_control_terminate();
! 23: void sm_control_kill();
! 24: void sm_control_reset_pid();
! 25: void sm_run(int code);
! 26: int sm_receive_ox();
! 27: int sm(OXFILE *oxfp);
1.3 ohara 28:
29: void pid_extend();
30: int pid_lookup(pid_t pid);
31: int pid_registed(pid_t pid);
32: void pid_regist(pid_t pid);
33: void pid_delete(pid_t pid);
34: int pid_reset(pid_t pid);
35: int pid_kill(pid_t pid);
36: void pid_kill_all();
1.1 ohara 37:
38: typedef struct {
39: int (*func_ptr)();
40: void *key;
41: } db;
42:
43: int (*sm_search_f(int code))();
44: int oxc_open(char *cmd, short port);
45: int lf_oxc_open();
46:
47: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>