version 1.6, 2000/11/28 04:24:12 |
version 1.7, 2000/11/28 22:11:14 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/oxf.c,v 1.5 2000/11/24 05:49:27 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/oxf.c,v 1.6 2000/11/28 04:24:12 ohara Exp $ */ |
|
|
/* |
/* |
This module includes functions for sending/receiveng CMO's. |
This module includes functions for sending/receiveng CMO's. |
Line 84 OXFILE *oxf_open(int fd) |
|
Line 84 OXFILE *oxf_open(int fd) |
|
oxfp->fd = fd; |
oxfp->fd = fd; |
oxfp->send_int32 = send_int32_nbo; |
oxfp->send_int32 = send_int32_nbo; |
oxfp->receive_int32 = receive_int32_nbo; |
oxfp->receive_int32 = receive_int32_nbo; |
|
oxfp->serial_number = 0; |
oxfp->control = NULL; |
oxfp->control = NULL; |
oxfp->error = 0; |
oxfp->error = 0; |
oxfp->mathcap = NULL; |
oxfp->mathcap = NULL; |
return oxfp; |
return oxfp; |
/* oxfp->fp = fdopen(fd, "a+"); */ |
/* oxfp->fp = fdopen(fd, "a+"); */ |
/* return (oxfp->fp != NULL)? oxfp: NULL; */ |
/* return (oxfp->fp != NULL)? oxfp: NULL; */ |
|
} |
|
|
|
int oxf_fileno(OXFILE *oxfp) |
|
{ |
|
return oxfp->fd; |
} |
} |
|
|
OXFILE *oxf_control(OXFILE *oxfp) |
OXFILE *oxf_control(OXFILE *oxfp) |