Annotation of OpenXM/src/ox_ntl/oxserv.h, Revision 1.2
1.2 ! iwane 1: /* $OpenXM: OpenXM/src/ox_ntl/oxserv.h,v 1.1 2003/11/03 03:11:21 iwane Exp $ */
1.1 iwane 2:
3: #ifndef __OX_SERVE_H__
4: #define __OX_SERVE_H__
5:
6: #include "ox_toolkit.h"
7:
1.2 ! iwane 8: #ifndef OXSERV_FAILURE
1.1 iwane 9: #define OXSERV_FAILURE (-1)
10: #define OXSERV_SUCCESS ( 0)
1.2 ! iwane 11: #endif
1.1 iwane 12:
13: #ifdef __cplusplus
14: extern "C" {
15: #endif
16:
1.2 ! iwane 17: void oxserv_delete_cmo (cmo *);
! 18:
1.1 iwane 19: /* c.f. mathcap_init in ox_toolkit */
1.2 ! iwane 20: int oxserv_init (OXFILE *, int, char *, char *, int *, int *);
! 21: void oxserv_dest (void);
1.1 iwane 22:
1.2 ! iwane 23: int oxserv_receive (OXFILE *);
1.1 iwane 24:
1.2 ! iwane 25: int oxserv_set (int mode, void *, void *);
1.1 iwane 26:
1.2 ! iwane 27: #define OXSERV_SET_EXECUTE_STRING_PARSER (0x01)
! 28: #define OXSERV_SET_EXECUTE_FUNCTION (0x02)
1.1 iwane 29: #define OXSERV_SET_CONVERT_CMO (0x03)
1.2 ! iwane 30: #define OXSERV_SET_DELETE_CMO (0x04)
! 31: #define OXSERV_SET_GET_CMOTAG (0x05)
1.1 iwane 32:
33:
34: #ifdef __cplusplus
35: }
36: #endif
37:
38: #endif /* !__OX_SERVE_H__ */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>