| version 1.4, 1999/11/18 21:56:44 |
version 1.8, 2000/10/10 19:58:30 |
|
|
| /* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
| /* $OpenXM: OpenXM/src/ox_math/serv2.h,v 1.3 1999/11/07 12:12:56 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_math/serv2.h,v 1.7 2000/03/10 12:38:47 ohara Exp $ */ |
| |
|
| #ifndef _SERV2_H_ |
#ifndef _SERV2_H_ |
| #define _SERV2_H_ |
#define _SERV2_H_ |
| |
|
| #include "ox.h" |
#include <ox_toolkit.h> |
| |
|
| int MATH_evaluateStringByLocalParser(char *str); |
#define FLAG_MLTKSYM_IS_INDETERMINATE 0 |
| int MATH_init(); |
#define FLAG_MLTKSYM_IS_STRING 1 |
| int MATH_exit(); |
|
| cmo *MATH_get_object(); |
|
| int MATH_executeFunction(char *function, int argc, cmo *argv[]); |
|
| |
|
| |
#define ERROR_ID_UNKNOWN_SM 10 |
| |
#define ERROR_ID_FAILURE_MLINK 11 |
| |
|
| int initialize_stack(); |
int initialize_stack(); |
| int push(cmo *m); |
int push(cmo *m); |
| cmo *pop(); |
cmo *pop(); |
| int sm_popCMO(int fd_write); |
int sm_popCMO(OXFILE *oxfp); |
| int sm_popString_old(int fd_write); |
int sm_popString(OXFILE *oxfp); |
| int sm_popString(int fd_write); |
int sm_pops(OXFILE *oxfp); |
| int sm_pops(int fd_write); |
|
| int sm_executeStringByLocalParser(); |
int sm_executeStringByLocalParser(); |
| int sm_executeFunction(int fd_write); |
int sm_executeFunction(OXFILE *oxfp); |
| |
|
| int receive_sm_command(int fd_read); |
int receive_sm_command(OXFILE *oxfp); |
| int execute_sm_command(int fd_write, int code); |
int execute_sm_command(OXFILE *oxfp, int code); |
| |
|
| int shutdown(); |
int shutdown(); |
| #endif |
#endif |