[BACK]Return to serv2.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

File: [local] / OpenXM / src / ox_math / Attic / serv2.h (download)

Revision 1.7, Fri Mar 10 12:38:47 2000 UTC (24 years, 3 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.6: +2 -2 lines

Mathematica client/server has been compliant to new ox_toolkit header files.

/* -*- mode: C; coding: euc-japan -*- */
/* $OpenXM: OpenXM/src/ox_math/serv2.h,v 1.7 2000/03/10 12:38:47 ohara Exp $ */

#ifndef _SERV2_H_
#define _SERV2_H_

#include <ox_toolkit.h>

#define FLAG_MLTKSYM_IS_INDETERMINATE   0
#define FLAG_MLTKSYM_IS_STRING          1

#define ERROR_ID_UNKNOWN_SM 10
#define ERROR_ID_FAILURE_MLINK         11

int  initialize_stack();
int  push(cmo *m);
cmo  *pop();
int  sm_popCMO(int fd);
int  sm_popString(int fd);
int  sm_pops(int fd);
int  sm_executeStringByLocalParser();
int  sm_executeFunction(int fd);

int  receive_sm_command(int fd);
int  execute_sm_command(int fd, int code);

int shutdown();
#endif