Annotation of OpenXM/src/ox_math/sm.h, Revision 1.2
1.1 ohara 1: /* -*- mode: C; coding: euc-japan -*- */
1.2 ! ohara 2: /* $OpenXM: OpenXM/src/ox_math/sm.h,v 1.1 2000/12/03 21:45:18 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 */
! 16: void push_error(int errcode, cmo* pushback);
! 17: int sm_receive_ox();
! 18: int oxf_error(OXFILE *oxfp);
! 19:
! 20: void push(cmo *m);
1.1 ohara 21: cmo *pop();
1.2 ! ohara 22: void pops(int n);
! 23: void sm_popCMO();
! 24: void sm_popString();
! 25: void sm_pops();
! 26: void sm_executeStringByLocalParser();
! 27: void sm_executeFunction();
! 28: void sm_run(int code);
! 29: int shutdown();
! 30:
! 31: /* sm_ext.c */
! 32: int (*sm_search_f(int code))();
! 33: void sm_popString();
! 34: int local_execute(char *s);
! 35: void sm_executeStringByLocalParser();
! 36: void sm_executeFunction();
! 37: void sm_mathcap();
! 38: void sm_set_mathcap();
1.1 ohara 39:
1.2 ! ohara 40: #define receive_sm_command(x) receive_int32((x))
1.1 ohara 41:
42: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>