Show
Ignore:
Timestamp:
01/27/09 22:35:47 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1233095747 +0000
git-parent:

[a5fda7af1c2eef671f02284031368b2908ca4998]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1233095747 +0000
Message:

update logging API to pass back errors, refs #73

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/utils/noit_log.h

    r4bed82b r7422acb  
    5858API_EXPORT(void) noit_log_stream_close(noit_log_stream_t ls); 
    5959API_EXPORT(void) noit_log_stream_free(noit_log_stream_t ls); 
    60 API_EXPORT(void) noit_vlog(noit_log_stream_t ls, struct timeval *, 
    61                            const char *file, int line, 
    62                            const char *format, va_list arg); 
    63 API_EXPORT(void) noit_log(noit_log_stream_t ls, struct timeval *, 
     60API_EXPORT(int) noit_vlog(noit_log_stream_t ls, struct timeval *, 
    6461                          const char *file, int line, 
    65                           const char *format, ...) 
     62                          const char *format, va_list arg); 
     63API_EXPORT(int) noit_log(noit_log_stream_t ls, struct timeval *, 
     64                         const char *file, int line, 
     65                         const char *format, ...) 
    6666#ifdef __GNUC__ 
    6767  __attribute__ ((format (printf, 5, 6)))