| version 1.11, 2003/03/07 06:39:56 |
version 1.14, 2018/03/29 01:32:53 |
|
|
| * 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.10 2003/03/07 03:12:26 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/include/com.h,v 1.13 2015/08/14 13:51:55 fujimoto Exp $ |
| */ |
*/ |
| #ifndef _COM_H_ |
#ifndef _COM_H_ |
| #define _COM_H_ |
#define _COM_H_ |
| #if defined(VISUAL) || defined(MPI) |
#if defined(VISUAL) || defined(__MINGW32__) || defined(MPI) |
| #include "wsio.h" |
#include "wsio.h" |
| #endif |
#endif |
| |
|
| #include <stdio.h> |
#include <stdio.h> |
| |
|
| #if !defined(VISUAL) |
#if !defined(VISUAL) && !defined(__MINGW32__) |
| #include <netdb.h> |
#include <netdb.h> |
| #if defined(__CYGWIN__) |
#if defined(__CYGWIN__) |
| #include <cygwin/types.h> |
#include <cygwin/types.h> |
|
|
| #define C_PRIV C_ENDARG+1 |
#define C_PRIV C_ENDARG+1 |
| #define C_SHUTDOWN 6 |
#define C_SHUTDOWN 6 |
| |
|
| #if defined(VISUAL) || defined(MPI) |
#if defined(VISUAL) || defined(__MINGW32__) || defined(MPI) |
| struct IOFP { |
struct IOFP { |
| STREAM *in,*out; |
STREAM *in,*out; |
| char *inbuf,*outbuf; |
char *inbuf,*outbuf; |
| int s,conv; |
int s,conv; |
| char *socket; |
char *socket; |
| }; |
}; |
| |
|
| void ws_loadv(STREAM *,V *); |
void ws_loadv(STREAM *,V *); |
| Line 103 V ws_load_convv(int); |
|
| Line 103 V ws_load_convv(int); |
|
| int ws_save_convv(V); |
int ws_save_convv(V); |
| #else |
#else |
| struct IOFP { |
struct IOFP { |
| FILE *in,*out; |
FILE *in,*out; |
| char *inbuf,*outbuf; |
char *inbuf,*outbuf; |
| int s,conv; |
int s,conv; |
| char *socket; |
char *socket; |
| }; |
}; |
| #endif |
#endif |
| #endif /* _COM_H_ */ |
#endif /* _COM_H_ */ |