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