[BACK]Return to types.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/types.h between version 1.5 and 1.6

version 1.5, 2003/05/14 01:34:35 version 1.6, 2015/01/20 06:02:30
Line 37 
Line 37 
 #define DO_DEFOWNER             0x0800000  #define DO_DEFOWNER             0x0800000
 #define DO_SPARSE               0x1000000       /* XXX not implemented */  #define DO_SPARSE               0x1000000       /* XXX not implemented */
   
 /*  
  * Dist option information  
  */  
 typedef long            opt_t;  typedef long            opt_t;
 struct _distoptinfo {  
         opt_t           do_value;  
         char           *do_name;  
         char           *do_arg;  
         size_t         arg_size;  
 };  
 typedef struct _distoptinfo DISTOPTINFO;  
   
         /* Debug Message types */          /* Debug Message types */
 #define DM_CALL         0x01  #define DM_CALL         0x01
Line 57 
Line 47 
 #define DM_ALL          0x17  #define DM_ALL          0x17
   
 /*  /*
  * Description of a message type  
  */  
 struct _msgtype {  
         int             mt_type;                /* Type (bit) */  
         char           *mt_name;                /* Name of message type */  
 };  
 typedef struct _msgtype MSGTYPE;  
   
 /*  
  * Message Type definitions   * Message Type definitions
  */   */
 #define MT_DEBUG        0x0001                  /* Debugging messages */  #define MT_DEBUG        0x0001                  /* Debugging messages */
Line 83 
Line 64 
                          MT_WARNING|MT_CHANGE|\                           MT_WARNING|MT_CHANGE|\
                          MT_INFO|MT_NOTICE|\                           MT_INFO|MT_NOTICE|\
                          MT_SYSLOG|MT_VERBOSE)                           MT_SYSLOG|MT_VERBOSE)
   
 /*  
  * Description of message facilities  
  */  
 typedef struct _msgfacility MSGFACILITY;  
   
 struct _msgfacility {  
         /* compile time initialized data */  
         int             mf_msgfac;              /* One of MF_* from below */  
         char           *mf_name;                /* Name of this facility */  
         void          (*mf_sendfunc)            /* Function to send msg */  
                         (MSGFACILITY *, int, int, char *);  
         /* run time initialized data */  
         int             mf_msgtypes;            /* Bitmask of MT_* from above*/  
         char           *mf_filename;            /* Name of file */  
         FILE           *mf_fptr;                /* File pointer to output to */  
 };  
   
 /*  /*
  * Message Facilities   * Message Facilities

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6