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

Diff for /src/usr.bin/ssh/log.h between version 1.17 and 1.18

version 1.17, 2008/06/13 00:12:02 version 1.18, 2011/06/17 21:44:30
Line 43 
Line 43 
         SYSLOG_LEVEL_NOT_SET = -1          SYSLOG_LEVEL_NOT_SET = -1
 }       LogLevel;  }       LogLevel;
   
   typedef void (log_handler_fn)(LogLevel, const char *, void *);
   
 void     log_init(char *, LogLevel, SyslogFacility, int);  void     log_init(char *, LogLevel, SyslogFacility, int);
   
 SyslogFacility  log_facility_number(char *);  SyslogFacility  log_facility_number(char *);
Line 61 
Line 63 
 void     debug2(const char *, ...) __attribute__((format(printf, 1, 2)));  void     debug2(const char *, ...) __attribute__((format(printf, 1, 2)));
 void     debug3(const char *, ...) __attribute__((format(printf, 1, 2)));  void     debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
   
   
   void     set_log_handler(log_handler_fn *, void *);
   void     do_log2(LogLevel, const char *, ...)
       __attribute__((format(printf, 2, 3)));
 void     do_log(LogLevel, const char *, va_list);  void     do_log(LogLevel, const char *, va_list);
 void     cleanup_exit(int) __attribute__((noreturn));  void     cleanup_exit(int) __attribute__((noreturn));
 #endif  #endif

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18