| version 1.5, 2001/12/21 08:23:12 |
version 1.11, 2003/03/07 06:39:56 |
|
|
| * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
| * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
| * |
* |
| * $OpenXM: OpenXM_contrib2/asir2000/include/com.h,v 1.4 2000/08/22 05:04:15 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/include/com.h,v 1.10 2003/03/07 03:12:26 noro Exp $ |
| */ |
*/ |
| #ifndef _COM_H_ |
#ifndef _COM_H_ |
| #define _COM_H_ |
#define _COM_H_ |
| #if defined(VISUAL) || MPI |
#if defined(VISUAL) || defined(MPI) |
| #include "wsio.h" |
#include "wsio.h" |
| #endif |
#endif |
| |
|
|
|
| #include <cygwin/types.h> |
#include <cygwin/types.h> |
| #include <cygwin/socket.h> |
#include <cygwin/socket.h> |
| #include <cygwin/in.h> |
#include <cygwin/in.h> |
| |
#define IS_CYGWIN 1 |
| #else |
#else |
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <sys/socket.h> |
#include <sys/socket.h> |
| #include <rpc/rpc.h> |
#include <rpc/rpc.h> |
| |
#define IS_CYGWIN 0 |
| #endif |
#endif |
| #include <setjmp.h> |
#include <setjmp.h> |
| |
#else |
| |
#define IS_CYGWIN 0 |
| #endif |
#endif |
| |
|
| #define N32 0x80 |
#define N32 0x80 |
|
|
| #define C_PRIV C_ENDARG+1 |
#define C_PRIV C_ENDARG+1 |
| #define C_SHUTDOWN 6 |
#define C_SHUTDOWN 6 |
| |
|
| #if defined(VISUAL) || MPI |
#if defined(VISUAL) || defined(MPI) |
| struct IOFP { |
struct IOFP { |
| STREAM *in,*out; |
STREAM *in,*out; |
| |
char *inbuf,*outbuf; |
| int s,conv; |
int s,conv; |
| char *socket; |
char *socket; |
| }; |
}; |
| Line 99 int ws_save_convv(V); |
|
| Line 104 int ws_save_convv(V); |
|
| #else |
#else |
| struct IOFP { |
struct IOFP { |
| FILE *in,*out; |
FILE *in,*out; |
| |
char *inbuf,*outbuf; |
| int s,conv; |
int s,conv; |
| char *socket; |
char *socket; |
| }; |
}; |