version 1.3, 2000/11/28 18:11:42 |
version 1.4, 2000/11/30 10:27:02 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/oxc/sm.h,v 1.2 2000/11/28 04:52:05 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/oxc/sm.h,v 1.3 2000/11/28 18:11:42 ohara Exp $ */ |
|
|
#ifndef _SM_ERRNO_H_ |
#ifndef _SM_ERRNO_H_ |
#define _SM_ERRNO_H_ |
#define _SM_ERRNO_H_ |
|
|
#define ERRNO_SM_ILLEGAL 100 |
#define ERRNO_SM_ILLEGAL 100 |
#define ERRNO_SM_LF_NOT_FOUND 101 |
#define ERRNO_SM_LF_NOT_FOUND 101 |
|
|
void extend_stack(); |
|
void push(cmo *ob); |
void push(cmo *ob); |
cmo *pop(); |
cmo *pop(); |
void pops(int n); |
void pops(int n); |
void push_error(int errcode, cmo* pushback); |
void push_error(int errcode, cmo* pushback); |
void sm_popCMO(OXFILE *oxfp); |
void sm_popCMO(); |
void sm_pops(OXFILE *oxfp); |
void sm_pops(); |
void sm_executeFunction(OXFILE *oxfp); |
void sm_executeFunction(); |
void sm_mathcap(OXFILE *oxfp); |
void sm_mathcap(); |
void sm_set_mathcap(OXFILE *oxfp); |
void sm_set_mathcap(); |
void sm_control_kill(OXFILE *oxfp); |
int sm_control_spawn(); |
void sm_control_kill_pid(OXFILE *oxfp); |
void sm_control_terminate(); |
void sm_control_reset_pid(OXFILE *oxfp); |
void sm_control_kill(); |
void sm_run(OXFILE *oxfp, int code); |
void sm_control_reset_pid(); |
int sm(OXFILE *oxfp); |
void sm_run(int code); |
|
int sm_receive_ox(); |
|
int sm(OXFILE *oxfp); |
|
|
void pid_extend(); |
void pid_extend(); |
int pid_lookup(pid_t pid); |
int pid_lookup(pid_t pid); |
Line 33 void pid_delete(pid_t pid); |
|
Line 34 void pid_delete(pid_t pid); |
|
int pid_reset(pid_t pid); |
int pid_reset(pid_t pid); |
int pid_kill(pid_t pid); |
int pid_kill(pid_t pid); |
void pid_kill_all(); |
void pid_kill_all(); |
|
|
int receive_sm_command(OXFILE *oxfp); |
|
int receive_ox(OXFILE *oxfp); |
|
|
|
typedef struct { |
typedef struct { |
int (*func_ptr)(); |
int (*func_ptr)(); |