Annotation of OpenXM/src/oxc/sm.h, Revision 1.2
1.1 ohara 1: /* -*- mode: C -*- */
1.2 ! ohara 2: /* $OpenXM: OpenXM/src/oxc/sm.h,v 1.1 2000/10/13 06:05:12 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.1 ohara 22: void sm_run(OXFILE *oxfp, int code);
23: int sm(OXFILE *oxfp);
24:
25: int receive_sm_command(OXFILE *oxfp);
26: int receive_ox(OXFILE *oxfp);
27:
28: typedef struct {
29: int (*func_ptr)();
30: void *key;
31: } db;
32:
33: int (*sm_search_f(int code))();
34: int oxc_open(char *cmd, short port);
35: int lf_oxc_open();
36:
37: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>