/[LeafOK_CVS]/lbbs/include/log.h
ViewVC logotype

Diff of /lbbs/include/log.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Tue May 6 05:31:26 2025 UTC Revision 1.6 by sysadm, Wed Jun 4 13:42:53 2025 UTC
# Line 19  Line 19 
19    
20  #include <stddef.h>  #include <stddef.h>
21    
22  extern int log_begin(char *file_log_std, char *file_log_err);  extern int log_begin(char *common_log_file, char *error_log_file);
23    
24  extern void log_end();  extern void log_end();
25    
26  extern int log_head(char *buf, size_t len);  extern int log_head(char *buf, size_t len);
27    
28  extern int log_std(const char *format, ...);  extern int log_common(const char *format, ...);
29    
30  extern int log_error(const char *format, ...);  extern int log_error(const char *format, ...);
31    
32  extern int log_std_redirect(int fd);  extern int log_common_redir(int fd);
33    
34  extern int log_err_redirect(int fd);  extern int log_error_redir(int fd);
35    
36  #endif //_LOG_H_  #endif //_LOG_H_


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1