version 1.4, 2000/03/16 04:59:53 |
version 1.6, 2002/01/20 09:26:22 |
|
|
%% $OpenXM: OpenXM/doc/OpenXM-specs/library.tex,v 1.3 2000/01/24 02:48:24 noro Exp $ |
%% $OpenXM: OpenXM/doc/OpenXM-specs/library.tex,v 1.5 2000/09/08 18:57:49 takayama Exp $ |
/*&jp |
/*&jp |
\section{ OX ¥µ¡¼¥Ð¤ËÂФ¹¤ë C ¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹ } |
\section{ OX ¥µ¡¼¥Ð¤ËÂФ¹¤ë C ¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹ } |
|
|
Line 14 Asir ¤Î OX ¥µ¡¼¥ÐÍÑ¥¯¥é¥¤¥¢¥ó¥È´Ø¿ô¤Ë»÷¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥ |
|
Line 14 Asir ¤Î OX ¥µ¡¼¥ÐÍÑ¥¯¥é¥¤¥¢¥ó¥È´Ø¿ô¤Ë»÷¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥ |
|
\section{ OX servers as a C library} |
\section{ OX servers as a C library} |
|
|
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 API to the C library |
are similar to Asir OX client functions such as |
is similar to Asir OX client API such as |
{\tt ox\_push\_cmo()}, {\tt ox\_pop\_cmo()}. |
{\tt ox\_push\_cmo()}, {\tt ox\_pop\_cmo()}. |
|
|
CMO should be converted into the binary encoded form to call these functions. |
CMO should be converted into the binary encoded form to call these functions. |
Line 110 This function sends a stack machine command |
|
Line 110 This function sends a stack machine command |
|
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}. |
This function requests a server to execute a command expressed by |
|
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. |
*/ |
*/ |
/*&jp |
/*&jp |
ʸ»úÎó {\tt s} ¤ò¥µ¡¼¥Ð¤Ë¼Â¹Ô¤µ¤»¤ë. {\tt s} ¤Ï¥µ¡¼¥Ð¤Î¥Ñ¡¼¥¶ |
ʸ»úÎó {\tt s} ¤ò¥µ¡¼¥Ð¤Ë¼Â¹Ô¤µ¤»¤ë. {\tt s} ¤Ï¥µ¡¼¥Ð¤Î¥Ñ¡¼¥¶ |
¤¬¼õÍý²Äǽ¤Ê¤â¤Î¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤. |
¤¬¼õÍý²Äǽ¤Ê¤â¤Î¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤. |
|
*/ |
|
|
|
//&C |
|
|
|
/*&jp |
|
¥é¥¤¥Ö¥é¥ê¥â¡¼¥É¤Î¥µ¥ó¥×¥ë¥½¡¼¥¹¤Ï {\tt OpenXM/doc/oxlib} |
|
¤Ë¤¢¤ë. |
|
*/ |
|
|
|
/*&eg |
|
Sample source codes to use the library mode interface can be found in |
|
{\tt OpenXM/doc/oxlib}. |
*/ |
*/ |
|
|