Annotation of OpenXM/src/oxc/sm.h, Revision 1.3
1.1 ohara 1: /* -*- mode: C -*- */
1.3 ! ohara 2: /* $OpenXM: OpenXM/src/oxc/sm.h,v 1.2 2000/11/28 04:52:05 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 extend_stack();
13: void push(cmo *ob);
14: cmo *pop();
15: void pops(int n);
16: void push_error(int errcode, cmo* pushback);
17: void sm_popCMO(OXFILE *oxfp);
18: void sm_pops(OXFILE *oxfp);
19: void sm_executeFunction(OXFILE *oxfp);
20: void sm_mathcap(OXFILE *oxfp);
1.2 ohara 21: void sm_set_mathcap(OXFILE *oxfp);
1.3 ! ohara 22: void sm_control_kill(OXFILE *oxfp);
! 23: void sm_control_kill_pid(OXFILE *oxfp);
! 24: void sm_control_reset_pid(OXFILE *oxfp);
1.1 ohara 25: void sm_run(OXFILE *oxfp, int code);
26: int sm(OXFILE *oxfp);
1.3 ! ohara 27:
! 28: void pid_extend();
! 29: int pid_lookup(pid_t pid);
! 30: int pid_registed(pid_t pid);
! 31: void pid_regist(pid_t pid);
! 32: void pid_delete(pid_t pid);
! 33: int pid_reset(pid_t pid);
! 34: int pid_kill(pid_t pid);
! 35: void pid_kill_all();
1.1 ohara 36:
37: int receive_sm_command(OXFILE *oxfp);
38: int receive_ox(OXFILE *oxfp);
39:
40: typedef struct {
41: int (*func_ptr)();
42: void *key;
43: } db;
44:
45: int (*sm_search_f(int code))();
46: int oxc_open(char *cmd, short port);
47: int lf_oxc_open();
48:
49: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>