[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.7

1.7     ! ohara       1: /* $OpenXM: OpenXM/src/ox_math/mlo.h,v 1.6 2003/01/15 05:08:10 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;
                     23: typedef cmo_zz mlo_zz;
                     24:
                     25: mlo_function *new_mlo_function(char *function);
                     26:
1.1       ohara      27: cmo *receive_mlo();
1.2       ohara      28: mlo *receive_mlo_zz();
                     29: mlo *receive_mlo_string();
                     30: cmo *receive_mlo_function();
                     31: cmo *convert_mlo_to_cmo(mlo *m);
                     32: cmo *receive_mlo_function_newer();
                     33: cmo *receive_mlo_symbol();
1.6       ohara      34: mlo *receive_mlo_error();
                     35: mlo *receive_mlo_real();
1.2       ohara      36:
                     37: int send_mlo(cmo *m);
1.1       ohara      38:
1.6       ohara      39: int ml_abort();
                     40: int ml_interrupt();
                     41: int ml_next_packet();
                     42: int ml_new_packet();
                     43: int ml_read_packet();
1.2       ohara      44: int ml_init();
                     45: int ml_exit();
                     46: int ml_flush();
                     47: int ml_select();
                     48: int ml_evaluateStringByLocalParser(char *str);
                     49: int ml_executeFunction(char *function, int argc, cmo *argv[]);
1.6       ohara      50: mlo *ml_return();
1.1       ohara      51:
1.7     ! ohara      52: /* state management for the OpenXM robust interruption */
        !            53: unsigned ml_state_set(unsigned fl);
        !            54: unsigned ml_state_clear(unsigned fl);
        !            55: unsigned ml_state(unsigned fl);
        !            56: void     ml_state_clear_all();
1.1       ohara      57: #endif

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