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

Annotation of OpenXM/src/ox_math/mlo.h, Revision 1.8

1.8     ! ohara       1: /* $OpenXM: OpenXM/src/ox_math/mlo.h,v 1.7 2003/02/12 08:28:41 ohara Exp $ */
1.1       ohara       2: #ifndef _MLO_H_
                      3:
                      4: #define _MLO_H_
                      5:
1.5       ohara       6: #include <ox_toolkit.h>
1.1       ohara       7:
1.7       ohara       8: #define RESERVE_INTERRUPTION 1
                      9: #define INTERRUPTED          2
                     10: #define RESERVE_ABORTION     4
                     11: #define ABORTED              8
                     12:
1.3       ohara      13: /* definitions of Mathlink Local Objects. */
1.1       ohara      14: typedef struct {
                     15:     int tag;
                     16:     int length;
                     17:     cell head[1];
                     18:     char *function;
                     19: } mlo_function;
                     20:
1.2       ohara      21: typedef cmo mlo;
                     22: typedef cmo_string mlo_string;
1.8     ! ohara      23: #if defined(WITH_GMP)
1.2       ohara      24: typedef cmo_zz mlo_zz;
1.8     ! ohara      25: #endif
1.2       ohara      26:
                     27: mlo_function *new_mlo_function(char *function);
                     28:
1.1       ohara      29: cmo *receive_mlo();
1.2       ohara      30: mlo *receive_mlo_zz();
                     31: mlo *receive_mlo_string();
                     32: cmo *receive_mlo_function();
                     33: cmo *convert_mlo_to_cmo(mlo *m);
                     34: cmo *receive_mlo_function_newer();
                     35: cmo *receive_mlo_symbol();
1.6       ohara      36: mlo *receive_mlo_error();
                     37: mlo *receive_mlo_real();
1.2       ohara      38:
                     39: int send_mlo(cmo *m);
1.1       ohara      40:
1.6       ohara      41: int ml_abort();
                     42: int ml_interrupt();
                     43: int ml_next_packet();
                     44: int ml_new_packet();
                     45: int ml_read_packet();
1.2       ohara      46: int ml_init();
                     47: int ml_exit();
                     48: int ml_flush();
                     49: int ml_select();
                     50: int ml_evaluateStringByLocalParser(char *str);
                     51: int ml_executeFunction(char *function, int argc, cmo *argv[]);
1.6       ohara      52: mlo *ml_return();
1.1       ohara      53:
1.7       ohara      54: /* state management for the OpenXM robust interruption */
                     55: unsigned ml_state_set(unsigned fl);
                     56: unsigned ml_state_clear(unsigned fl);
                     57: unsigned ml_state(unsigned fl);
                     58: void     ml_state_clear_all();
1.1       ohara      59: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>