[BACK]Return to oxserv.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl

Diff for /OpenXM/src/ox_ntl/oxserv.h between version 1.1 and 1.3

version 1.1, 2003/11/03 03:11:21 version 1.3, 2003/11/15 09:06:20
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/src/ox_ntl/oxserv.h,v 1.2 2003/11/08 12:34:00 iwane Exp $ */
   
 #ifndef __OX_SERVE_H__  #ifndef __OX_SERVE_H__
 #define __OX_SERVE_H__  #define __OX_SERVE_H__
   
   #if HAVE_CONFIG_H
   #include "config.h"
   #endif
   
   #include <signal.h>
 #include "ox_toolkit.h"  #include "ox_toolkit.h"
   
   #ifndef OXSERV_FAILURE
 #define OXSERV_FAILURE  (-1)  #define OXSERV_FAILURE  (-1)
 #define OXSERV_SUCCESS  ( 0)  #define OXSERV_SUCCESS  ( 0)
   #endif
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
   
   /* signal */
   extern sigset_t G_oxserv_sigusr1;
   
   #define BLOCK_INPUT()   do { \
           sigprocmask(SIG_BLOCK, &G_oxserv_sigusr1, NULL); \
   } while(0)
   
   #define UNBLOCK_INPUT() do { \
           sigprocmask(SIG_UNBLOCK, &G_oxserv_sigusr1, NULL); \
   } while(0)
   
 /* c.f. mathcap_init in ox_toolkit */  /* c.f. mathcap_init in ox_toolkit */
 int      oxserv_init(OXFILE *, int, char *, char *, int *, int *);  int      oxserv_init    (OXFILE *, int, char *, char *, int *, int *);
 void     oxserv_dest(void);  void     oxserv_dest    (void);
   
 int      oxserv_receive(OXFILE *);  int      oxserv_receive (OXFILE *);
   
 int      oxserv_set(int mode, void *, void *);  int      oxserv_set     (int mode, void *, void *);
   
 #define OXSERV_SET_EXECUTE_STRING_PARSER        (0x01)  #define OXSERV_SET_EXECUTE_STRING_PARSER        (0x01)
 #define OXSERV_SET_EXECUTE_FUNCTION             (0x02)  #define OXSERV_SET_EXECUTE_FUNCTION             (0x02)
 #define OXSERV_SET_CONVERT_CMO                  (0x03)  #define OXSERV_SET_CONVERT_CMO                  (0x03)
   #define OXSERV_SET_DELETE_CMO                   (0x04)
   #define OXSERV_SET_GET_CMOTAG                   (0x05)
   
   
 #ifdef __cplusplus  #ifdef __cplusplus

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

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