version 1.10, 2000/03/10 12:24:38 |
version 1.11, 2000/10/10 05:23:19 |
|
|
# Author: ¾®¸¶¸ùǤ @ ¶âÂôÂç³ØÍý³ØÉô·×»»²Ê³Ø¶µ¼¼ |
# Author: ¾®¸¶¸ùǤ @ ¶âÂôÂç³ØÍý³ØÉô·×»»²Ê³Ø¶µ¼¼ |
# URI: http://omega.s.kanazawa-u.ac.jp/ohara/ |
# URI: http://omega.s.kanazawa-u.ac.jp/ohara/ |
# $OpenXM: OpenXM/src/ox_toolkit/README,v 1.9 2000/01/20 17:18:55 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/README,v 1.10 2000/03/10 12:24:38 ohara Exp $ |
|
|
/*&ja ox_toolkit ¥æ¡¼¥¶¥¬¥¤¥É |
/*&ja ox_toolkit ¥æ¡¼¥¶¥¬¥¤¥É |
|
|
Line 129 new_cmo_error2(cmo* ob); |
|
Line 129 new_cmo_error2(cmo* ob); |
|
|
|
*/ |
*/ |
/*&ja |
/*&ja |
3. ¹â¿å½à API |
2.5 ¥³¥Í¥¯¥·¥ç¥ó |
|
|
|
OXFILE ¤Ï OpenXM ¤Ç¤ÎÄÌ¿®Ï©¤òɽ¸½¤¹¤ë¥¯¥é¥¹¤Ç¤¢¤ë¡£¤³¤Î¥¯¥é¥¹¤Î¥ª¥Ö¥¸¥§ |
|
¥¯¥È¤òÌÀ¼¨Åª¤Ë¤ÏÀ¸À®¤·¤Ê¤¤¤³¤È¡£É¬¤º¥³¥ó¥¹¥È¥é¥¯¥¿¤òÍøÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤é |
|
¤Ê¤¤¡£¤³¤ì¤Ï¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤ÇÀܳ»þ¤Î¼ê½ç¤¬°Û¤Ê¤ë¤³¤È¤ËͳÍ褹¤ë¡£ |
|
¥Ð¥¤¥È¥ª¡¼¥À¤Ë´ØÏ¢¤·¤¿½èÍý¤Ï¤³¤Î¥¯¥é¥¹¤Î¥á¥½¥Ã¥É¤Ç¼Â¸½¤µ¤ì¤ë¡£¤³¤Î¥¯¥é |
|
¥¹¤Î¥á¥½¥Ã¥É¤È¤·¤Æ¼¡¤Î¤â¤Î¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¡£ |
|
|
|
2.5.1 ¥³¥ó¥¹¥È¥é¥¯¥¿ |
|
OXFILE *oxf_connect_active(char *hostname, short port); |
|
OXFILE *oxf_connect_passive(int listened); |
|
OXFILE *oxf_open(int fd); |
|
|
|
2.5.2 ǧ¾Ú¤Ë´ØÏ¢¤·¤¿¥á¥½¥Ã¥É |
|
int oxf_confirm_client(OXFILE *oxfp, char *passwd); |
|
int oxf_confirm_server(OXFILE *oxfp, char *passwd); |
|
void oxf_determine_byteorder_client(OXFILE *oxfp); |
|
void oxf_determine_byteorder_server(OXFILE *oxfp); |
|
void oxf_setopt(OXFILE *oxfp, int mode); |
|
|
|
2.5.3 ¤½¤Î¾¤Î¥á¥½¥Ã¥É |
|
int oxf_read(void *buffer, size_t size, size_t num, OXFILE *oxfp); |
|
int oxf_write(void *buffer, size_t size, size_t num, OXFILE *oxfp); |
|
void oxf_flush(OXFILE *oxfp); |
|
void oxf_close(OXFILE *oxfp); |
|
|
|
*/ |
|
/*&ja |
|
3. ¹â¿å½à API(¤³¤Îµ½Ò¤Ï¸Å¤¤¤Î¤Ç»È¤ï¤Ê¤¤¤³¤È) |
|
|
¹â¿å½à API ¤Ï¡ÖOpenXM ¥¯¥é¥¤¥¢¥ó¥È¡×¤«¤éÍøÍѤ¹¤ë¤³¤È¤òÁ°Äó¤ËÀ߷פµ¤ì¤Æ¤¤¤ë¡£ |
¹â¿å½à API ¤Ï¡ÖOpenXM ¥¯¥é¥¤¥¢¥ó¥È¡×¤«¤éÍøÍѤ¹¤ë¤³¤È¤òÁ°Äó¤ËÀ߷פµ¤ì¤Æ¤¤¤ë¡£ |
|
|
3.1 ÄÌ¿®¤Î³«»Ï |
3.1 ÄÌ¿®¤Î³«»Ï |
Line 149 ox_start() or to call ox_start_insecure_nonreverse(). |
|
Line 177 ox_start() or to call ox_start_insecure_nonreverse(). |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
ox_file_t ox_start(char* host, char* prog1, char* prog2); |
OXFILE *ox_start(char* host, char* prog1, char* prog2); |
ox_file_t ox_start_insecure_nonreverse(char* host, short portControl, short portStream); |
OXFILE *ox_start_insecure_nonreverse(char* host, short portControl, short portStream); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 193 ox_close() or to call ox_shutdown(). |
|
Line 221 ox_close() or to call ox_shutdown(). |
|
|
|
*/ |
*/ |
/*&common |
/*&common |
void ox_close(ox_file_t sv); |
void ox_close(OXFILE *sv); |
void ox_shutdown(ox_file_t sv); |
void ox_shutdown(OXFILE *sv); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 211 void ox_shutdown(ox_file_t sv); |
|
Line 239 void ox_shutdown(ox_file_t sv); |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
void ox_push_cmd(ox_file_t sv, int sm_code); |
void ox_push_cmd(OXFILE *sv, int sm_code); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 231 See OpenXM/include/ox_toolkit_tags.h for a list of ope |
|
Line 259 See OpenXM/include/ox_toolkit_tags.h for a list of ope |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
void ox_push_cmo(ox_file_t sv, cmo *c); |
void ox_push_cmo(OXFILE *sv, cmo *c); |
cmo* ox_pop_cmo(ox_file_t sv); |
cmo* ox_pop_cmo(OXFILE *sv); |
char* ox_popString(ox_file_t sv); |
char* ox_popString(OXFILE *sv); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 249 ox_push_cmo ¤Ï cmo ¤òÁ÷¿®¡¢ox_pop_cmo ¤Ï cmo ¤ò¼õ¿®¤¹¤ |
|
Line 277 ox_push_cmo ¤Ï cmo ¤òÁ÷¿®¡¢ox_pop_cmo ¤Ï cmo ¤ò¼õ¿®¤¹¤ |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
int ox_pops(ox_file_t sv, int num); |
int ox_pops(OXFILE *sv, int num); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 261 int ox_pops(ox_file_t sv, int num); |
|
Line 289 int ox_pops(ox_file_t sv, int num); |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
int ox_flush(ox_file_t sv); |
int ox_flush(OXFILE *sv); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 273 int ox_flush(ox_file_t sv); |
|
Line 301 int ox_flush(ox_file_t sv); |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
void ox_reset(ox_file_t sv); |
void ox_reset(OXFILE *sv); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 285 void ox_reset(ox_file_t sv); |
|
Line 313 void ox_reset(ox_file_t sv); |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
void ox_execute_string(ox_file_t sv, char* str); |
void ox_execute_string(OXFILE *sv, char* str); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 297 void ox_execute_string(ox_file_t sv, char* str); |
|
Line 325 void ox_execute_string(ox_file_t sv, char* str); |
|
*/ |
*/ |
/*&common |
/*&common |
|
|
int ox_cmo_rpc(ox_file_t sv, char *function, int argc, cmo *argv[]); |
int ox_cmo_rpc(OXFILE *sv, char *function, int argc, cmo *argv[]); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |
Line 309 function(argv[1], ...) ¤ò·×»»¤·¡¢·ë²Ì¤ò¥¹¥¿¥Ã¥¯¤ËÀѤࡠ|
|
Line 337 function(argv[1], ...) ¤ò·×»»¤·¡¢·ë²Ì¤ò¥¹¥¿¥Ã¥¯¤ËÀѤࡠ|
|
|
|
*/ |
*/ |
/*&common |
/*&common |
cmo_mathcap* ox_mathcap(ox_file_t sv); |
cmo_mathcap* ox_mathcap(OXFILE *sv); |
|
|
*/ |
*/ |
/*&ja |
/*&ja |