Ignore:
Timestamp:
22/08/06 17:00:57 (13 years ago)
Author:
spascoe
Message:

BROKEN!

I'm in the middle of implementing a logging callback in the server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_private_log.c

    r1369 r1444  
    3434#include <errno.h> 
    3535 
     36 
     37#ifdef NDG_PYTHON_EMBED 
     38 
     39void bbftpd_openlog(const char *ident, int option, int facility) { 
     40  return; 
     41} 
     42 
     43void bbftpd_closelog(void) { 
     44  return; 
     45} 
     46 
     47void bbftpd_log(int priority, const char *format, ...) { 
     48  va_list ap; 
     49 
     50  va_start(ap, format); 
     51  ndg_log(priority, format, ap); 
     52  va_end(ap); 
     53} 
     54 
     55#else // NDG_PYTHON_EMBED 
     56 
    3657static const char *log_ident; 
    3758static FILE *logfh = NULL; 
    3859 
    3960#define LOGFILE "bbftpd.log" 
     61 
    4062 
    4163/** 
     
    85107} 
    86108 
     109#endif // NDG_PYTHON_EMBED 
Note: See TracChangeset for help on using the changeset viewer.