=================================================================== RCS file: /home/cvs/OpenXM/src/oxc/sm.h,v retrieving revision 1.1 retrieving revision 1.5 diff -u -p -r1.1 -r1.5 --- OpenXM/src/oxc/sm.h 2000/10/13 06:05:12 1.1 +++ OpenXM/src/oxc/sm.h 2000/12/03 14:32:40 1.5 @@ -1,5 +1,5 @@ /* -*- mode: C -*- */ -/* $OpenXM$ */ +/* $OpenXM: OpenXM/src/oxc/sm.h,v 1.4 2000/11/30 10:27:02 ohara Exp $ */ #ifndef _SM_ERRNO_H_ #define _SM_ERRNO_H_ @@ -9,25 +9,18 @@ #define ERRNO_SM_ILLEGAL 100 #define ERRNO_SM_LF_NOT_FOUND 101 -void extend_stack(); void push(cmo *ob); cmo *pop(); void pops(int n); void push_error(int errcode, cmo* pushback); -void sm_popCMO(OXFILE *oxfp); -void sm_pops(OXFILE *oxfp); -void sm_executeFunction(OXFILE *oxfp); -void sm_mathcap(OXFILE *oxfp); -void sm_run(OXFILE *oxfp, int code); -int sm(OXFILE *oxfp); - -int receive_sm_command(OXFILE *oxfp); -int receive_ox(OXFILE *oxfp); - -typedef struct { - int (*func_ptr)(); - void *key; -} db; +void sm_popCMO(); +void sm_pops(); +void sm_executeFunction(); +void sm_mathcap(); +void sm_set_mathcap(); +void sm_run(int code); +int sm_receive_ox(); +int sm(OXFILE *oxfp); int (*sm_search_f(int code))(); int oxc_open(char *cmd, short port);