[BACK]Return to blind.h CVS log [TXT][DIR] Up to [local] / blind

Diff for /blind/blind.h between version 1.3 and 1.9

version 1.3, 2022/03/17 21:15:43 version 1.9, 2022/03/20 18:47:16
Line 14 
Line 14 
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
 #define BL_CONF "/etc/blind.conf"  #include <limits.h>
 #define BL_TEXT "blind"  
 #define BL_VERS "0.0.1"  
 #define BL_SOCK "/var/run/blind.sock"  
   
 #define BL_TTL  3600  #define BL_TEXT         "blind"
   #define BL_VERS         "0.0.1"
   
   #define BL_CONF         "/etc/blind.conf"
   #define BL_SOCK         "/var/run/blind.sock"
   #define BL_TTL          3600
   
   #define BL_OPT_DEFAULT  0x00000000
   #define BL_OPT_VERBOSE  0x00000001
   #define BL_OPT_ACTION   0x00000002
   
   #define BL_FLG_DEFAULT  0x00000000
   #define BL_FLG_COMPRESS 0x00000001
   #define BL_FLG_ENCRYPT  0x00000002
   
 struct blind {  struct blind {
         int  bl_ttl;          char            bl_conf[PATH_MAX];
           char            bl_sock[PATH_MAX];
           int             bl_ttl;
           uint32_t        bl_opt;
           uint32_t        bl_flg;
           //char         *bl_key;
           //char          bl_host[HOST_NAME_MAX+1];
           //time_t        bl_uptime;
           //char         *bl_cipher;
           //char         *bl_proto;
 };  };
   
   /* parse.y */
   int config_load(struct blind *);

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

https://cvs.kroczynski.net