version 1.2, 1999/11/02 06:11:58 |
version 1.5, 1999/11/03 10:56:40 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/ox_math/ox.h,v 1.4 1999/11/02 21:15:02 ohara Exp $ */ |
/* $Id$ */ |
|
|
|
#ifndef _OX_H_ |
#ifndef _OX_H_ |
|
|
Line 32 YYY_cmo_XXX ´Ø¿ô¤¬½èÍý¤¹¤ë¡£cmo ¤ÎÆâÉô¤Ë cmo_ZZZ ¤Ø¤Î¥ |
|
Line 31 YYY_cmo_XXX ´Ø¿ô¤¬½èÍý¤¹¤ë¡£cmo ¤ÎÆâÉô¤Ë cmo_ZZZ ¤Ø¤Î¥ |
|
¤¢¤ë¤È¤¤Ë¤Ï¡¢¤½¤Î¼ïÎà¤Ë¤è¤é¤º¤Ë YYY_cmo ´Ø¿ô¤ò¸Æ¤Ó½Ð¤¹ |
¤¢¤ë¤È¤¤Ë¤Ï¡¢¤½¤Î¼ïÎà¤Ë¤è¤é¤º¤Ë YYY_cmo ´Ø¿ô¤ò¸Æ¤Ó½Ð¤¹ |
*/ |
*/ |
|
|
|
|
#define DEFAULT_LOGFILE "/tmp/result" |
#define DEFAULT_LOGFILE "/tmp/result" |
|
|
|
/* Open Xm File Descripter */ |
|
typedef int oxfd; |
|
|
|
#if 0 |
|
/* ¤½¤Î¤¦¤Á¤³¤Á¤é¤Ë°Ü¹Ô¤·¤¿¤¤... */ |
|
typedef struct { |
|
int fd_read; |
|
int fd_write; |
|
int byteorder; |
|
} oxfile; |
|
typedef oxfile *oxfd; |
|
#endif |
|
|
/* ¥µ¡¼¥Ð¡¼¤È¤ÎÄÌ¿®Ï©¤ËÍѤ¤¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Î¥Ú¥¢. */ |
/* ¥µ¡¼¥Ð¡¼¤È¤ÎÄÌ¿®Ï©¤ËÍѤ¤¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Î¥Ú¥¢. */ |
typedef struct { |
typedef struct { |
int stream; |
oxfd stream; |
int control; |
oxfd control; |
} __ox_file_struct; |
} __ox_file_struct; |
|
|
typedef __ox_file_struct *ox_file_t; |
typedef __ox_file_struct *ox_file_t; |
Line 113 typedef struct { |
|
Line 124 typedef struct { |
|
cmo *den; /* ʬÊì (cmo_zz) */ |
cmo *den; /* ʬÊì (cmo_zz) */ |
} cmo_qq; |
} cmo_qq; |
|
|
|
/* cmo_list ¤ÎÇÉÀ¸. append_cmo_list ¤ò»È¤Ã¤Æ¤è¤¤. */ |
|
typedef struct { |
|
int tag; |
|
int length; /* number of monomials */ |
|
cell *head; /* a list of monomials */ |
|
cmo *ringdef; |
|
} cmo_distributed_polynomial; |
|
|
typedef cmo ox; |
typedef cmo ox; |
|
|
typedef struct { |
typedef struct { |
Line 175 cmo* ox_pop_cmo(ox_file_t sv, int fd); |
|
Line 194 cmo* ox_pop_cmo(ox_file_t sv, int fd); |
|
void ox_reset(ox_file_t sv); |
void ox_reset(ox_file_t sv); |
ox_file_t ox_start(char* host, char* prog1, char* prog2); |
ox_file_t ox_start(char* host, char* prog1, char* prog2); |
|
|
char* dump_cmo(char* array, cmo* m); |
int init_dump_buff(char *buff); |
char* dump_ox_command(char* array, ox_command* m); |
int dump_cmo(cmo* m); |
char* dump_ox_data(char* array, ox_data* m); |
int dump_ox_command(ox_command* m); |
|
int dump_ox_data(ox_data* m); |
|
|
int print_cmo(cmo* c); |
int print_cmo(cmo* c); |
int print_cmo_int32(cmo_int32* c); |
int print_cmo_int32(cmo_int32* c); |
Line 185 int print_cmo_list(cmo_list* li); |
|
Line 205 int print_cmo_list(cmo_list* li); |
|
int print_cmo_mathcap(cmo_mathcap* c); |
int print_cmo_mathcap(cmo_mathcap* c); |
int print_cmo_string(cmo_string* c); |
int print_cmo_string(cmo_string* c); |
|
|
int decideByteOrder(int fd_read, int fd_write, int order); |
int decideByteOrderClient(oxfd fd, int order); |
int decideByteOrder2(int fd_read, int fd_write, int order); |
int decideByteOrderServer(oxfd fd, int order); |
int next_serial(); |
int next_serial(); |
void setCmotypeDisable(int type); |
void setCmotypeDisable(int type); |
|
|
cmo_zz* new_cmo_zz_set_string(char *s); |
cmo_zz* new_cmo_zz_set_string(char *s); |
char* convert_zz_to_cstring(cmo_zz *c); |
char* convert_zz_to_string(cmo_zz *c); |
char* convert_cmo_to_cstring(cmo *m); |
char* convert_cmo_to_string(cmo *m); |
char* convert_null_to_cstring(); |
char* convert_null_to_string(); |
char* convert_int_to_cstring(int integer); |
char* convert_int_to_string(int integer); |
|
|
#endif /* _OX_H_ */ |
#endif /* _OX_H_ */ |