Annotation of OpenXM/src/ox_math/sm.h, Revision 1.3
1.1 ohara 1: /* -*- mode: C; coding: euc-japan -*- */
1.3 ! ohara 2: /* $OpenXM: OpenXM/src/ox_math/sm.h,v 1.2 2000/12/03 22:09:34 ohara Exp $ */
1.1 ohara 3:
4: #ifndef _SERV2_H_
5: #define _SERV2_H_
6:
7: #include <ox_toolkit.h>
8:
9: #define FLAG_MLTKSYM_IS_INDETERMINATE 0
10: #define FLAG_MLTKSYM_IS_STRING 1
11:
12: #define ERROR_ID_UNKNOWN_SM 10
13: #define ERROR_ID_FAILURE_MLINK 11
14:
1.2 ohara 15: /* sm.c */
1.3 ! ohara 16: void sm_sigmask();
! 17: void sm_sigunmask();
! 18: void sm_siginit();
! 19:
1.2 ohara 20: void push_error(int errcode, cmo* pushback);
21: int sm_receive_ox();
22: int oxf_error(OXFILE *oxfp);
23:
24: void push(cmo *m);
1.1 ohara 25: cmo *pop();
1.2 ohara 26: void pops(int n);
27: void sm_popCMO();
28: void sm_popString();
29: void sm_pops();
30: void sm_executeStringByLocalParser();
31: void sm_executeFunction();
32: void sm_run(int code);
33: int shutdown();
34:
35: /* sm_ext.c */
36: int (*sm_search_f(int code))();
37: void sm_popString();
38: int local_execute(char *s);
39: void sm_executeStringByLocalParser();
40: void sm_executeFunction();
41: void sm_mathcap();
42: void sm_set_mathcap();
1.1 ohara 43:
1.2 ohara 44: #define receive_sm_command(x) receive_int32((x))
1.1 ohara 45:
46: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>