[BACK]Return to com.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / include

Annotation of OpenXM_contrib2/asir2000/include/com.h, Revision 1.1

1.1     ! noro        1: /* $OpenXM: OpenXM/src/asir99/include/com.h,v 1.1.1.1 1999/11/10 08:12:30 noro Exp $ */
        !             2: #ifndef _COM_H_
        !             3: #define _COM_H_
        !             4: #if defined(VISUAL) || MPI
        !             5: #include "wsio.h"
        !             6: #endif
        !             7:
        !             8: #if !defined(VISUAL)
        !             9: #include <netdb.h>
        !            10: #include <sys/types.h>
        !            11: #include <sys/socket.h>
        !            12: #include <rpc/rpc.h>
        !            13: #endif
        !            14:
        !            15: #define N32 0x80
        !            16:
        !            17: #define ISIZ sizeof(int)
        !            18: #define MAXIOFP 1024
        !            19:
        !            20: #define C_ZERO 0
        !            21: #define C_OBJ 1
        !            22: #define C_VL 2
        !            23: #define C_INT 3
        !            24: #define C_CLOSE 4
        !            25: #define C_ENDARG 5
        !            26: #define C_PRIV C_ENDARG+1
        !            27: #define C_SHUTDOWN 6
        !            28:
        !            29: #if defined(VISUAL) || MPI
        !            30: struct IOFP {
        !            31:        STREAM *in,*out;
        !            32:        int s,conv;
        !            33:        char *socket;
        !            34: };
        !            35:
        !            36: void ws_loadv(STREAM *,V *);
        !            37: void ws_savev(STREAM *,V);
        !            38: void ws_loadvl(STREAM *);
        !            39: void ws_savevl(STREAM *,VL);
        !            40: V ws_load_convv(int);
        !            41: int ws_save_convv(V);
        !            42: #else
        !            43: struct IOFP {
        !            44:        FILE *in,*out;
        !            45:        int s,conv;
        !            46:        char *socket;
        !            47: };
        !            48: #endif
        !            49: #endif /* _COM_H_ */

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