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

File: [local] / OpenXM / src / oxc / sm.h (download)

Revision 1.5, Sun Dec 3 14:32:40 2000 UTC (23 years, 5 months ago) by ohara
Branch: MAIN
CVS Tags: new-mathcap-branch, R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.4: +1 -19 lines

(1) some methods are encolsed by static.
(2) tabs are expanded by white spaces.
(3) The db structure is decomposed into two tables. (in sm_ext.c)

/* -*- mode: C -*- */
/* $OpenXM: OpenXM/src/oxc/sm.h,v 1.5 2000/12/03 14:32:40 ohara Exp $ */

#ifndef _SM_ERRNO_H_
#define _SM_ERRNO_H_

#include <ox_toolkit.h>

#define ERRNO_SM_ILLEGAL      100
#define ERRNO_SM_LF_NOT_FOUND 101

void push(cmo *ob);
cmo *pop();
void pops(int n);
void push_error(int errcode, cmo* pushback);
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);
int lf_oxc_open();

#endif