[BACK]Return to library.tex CVS log [TXT][DIR] Up to [local] / OpenXM / doc / OpenXM-specs

Diff for /OpenXM/doc/OpenXM-specs/library.tex between version 1.2 and 1.4

version 1.2, 2000/01/24 00:57:11 version 1.4, 2000/03/16 04:59:53
Line 1 
Line 1 
 %% $OpenXM: OpenXM/doc/OpenXM-specs/library.tex,v 1.1.1.1 2000/01/20 08:52:46 noro Exp $  %% $OpenXM: OpenXM/doc/OpenXM-specs/library.tex,v 1.3 2000/01/24 02:48:24 noro Exp $
 /*&jp  /*&jp
 \section{ OX ¥µ¡¼¥Ð¤ËÂФ¹¤ë C ¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹ }  \section{ OX ¥µ¡¼¥Ð¤ËÂФ¹¤ë C ¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹ }
   
Line 16  Asir ¤Î OX ¥µ¡¼¥ÐÍÑ¥¯¥é¥¤¥¢¥ó¥È´Ø¿ô¤Ë»÷¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥
Line 16  Asir ¤Î OX ¥µ¡¼¥ÐÍÑ¥¯¥é¥¤¥¢¥ó¥È´Ø¿ô¤Ë»÷¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥
 In some OX servers, one can use the OX server as a C library.  In some OX servers, one can use the OX server as a C library.
 The interface functions of the C library  The interface functions of the C library
 are similar to Asir OX client functions such as  are similar to Asir OX client functions such as
 \verb+ ox_push_cmo() +, \verb+ ox_pop_cmo() +.  {\tt ox\_push\_cmo()}, {\tt ox\_pop\_cmo()}.
   
 CMO should be in the binary encoded form to call these functions.  CMO should be converted into the binary encoded form to call these functions.
 */  */
 /*&C  /*&C
   
Line 30  CMO should be in the binary encoded form to call these
Line 30  CMO should be in the binary encoded form to call these
 /*&eg  /*&eg
   This function initializes the library interface.    This function initializes the library interface.
   {\tt type} specifies the byte order to send int32 to the OX server xxx.    {\tt type} specifies the byte order to send int32 to the OX server xxx.
   If type is equal to 0, the network byte order will be used.    If type is equal to 0, the native byte order will be used.
   If type is equal to 1, the little endian order will be used.    If type is equal to 1, the network byte order will be used.
   In case of error, -1 will be returned.    In case of error, -1 will be returned.
 */  */
 /*&jp  /*&jp
   ¤³¤Î´Ø¿ô¤Ï¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î½é´ü²½¤ò¹Ô¤¦.    ¤³¤Î´Ø¿ô¤Ï¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î½é´ü²½¤ò¹Ô¤¦.
   OX ¥µ¡¼¥Ð xxx ¤Ø int32 ¤òÁ÷¤ë¤¿¤á¤Î byte order ¤ò type ¤Ç»ØÄꤹ¤ë.    OX ¥µ¡¼¥Ð xxx ¤Ø int32 ¤òÁ÷¤ë¤¿¤á¤Î byte order ¤ò type ¤Ç»ØÄꤹ¤ë.
   type = 0 ¤Î¾ì¹ç network byte order ¤¬ÀßÄꤵ¤ì¤ë.    type = 0 ¤Î¾ì¹ç native byte order ¤¬ÀßÄꤵ¤ì¤ë.
   type = 1 ¤Î¾ì¹ç little endian order ¤¬ÀßÄꤵ¤ì¤ë.    type = 1 ¤Î¾ì¹ç network byte order ¤¬ÀßÄꤵ¤ì¤ë.
   ¼ºÇÔ¤·¤¿¾ì¹ç, -1 ¤òÌ᤹.    ¼ºÇÔ¤·¤¿¾ì¹ç, -1 ¤òÌ᤹.
 */  */
   
Line 90  Stack underflow ¤Î¾ì¹ç¤ÎÌá¤êÃͤϠ0 ¤Ç¤¢¤ë.
Line 90  Stack underflow ¤Î¾ì¹ç¤ÎÌá¤êÃͤϠ0 ¤Ç¤¢¤ë.
 /*&eg  /*&eg
 Return the size of the CMO at the top of the stack.  Return the size of the CMO at the top of the stack.
 */  */
   
 /*&C  
   
 \smallskip  
 \begin{verbatim}  
   int xxx_ox_peek_cmo_size()  
 \end{verbatim}  
 */  
 /*&jp  /*&jp
 stack ¤Î°ìÈÖ¾å¤Ë¤¢¤ë CMO ¤Î¥µ¥¤¥º¤ò byte ¤ÇÌ᤹.  stack ¤Î°ìÈÖ¾å¤Ë¤¢¤ë CMO ¤Î¥µ¥¤¥º¤ò byte ¤ÇÌ᤹.
 */  */
   
 \smallbreak  \smallbreak
 \begin{verbatim}  \begin{verbatim}
 void xxx_ox_push_cmd(int cmd)   void xxx_ox_push_cmd(int cmd)
 \end{verbatim}  \end{verbatim}
 /*&eg  /*&eg
 This function sends a stack machine command  This function sends a stack machine command
Line 115  This function sends a stack machine command 
Line 107  This function sends a stack machine command 
 */  */
   
 \begin{verbatim}  \begin{verbatim}
 void xxx_ox_execute_string(char *s)   void xxx_ox_execute_string(char *s)
 \end{verbatim}  \end{verbatim}
 */  
 /*&eg  /*&eg
 These function requests a server to execute a string {\tt s}.  These function requests a server to execute a string {\tt s}.
 {\tt s} should be acceptable by the parser of the server.  {\tt s} should be acceptable by the parser of the server.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>