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

Annotation of /lbbs/include/log.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Mon May 5 11:46:04 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.2: +1 -1 lines
Content type: text/x-chdr
Refine

1 sysadm 1.1 /***************************************************************************
2     log.h - description
3     -------------------
4     begin : Wed Mar 16 2004
5     copyright : (C) 2005 by Leaflet
6     email : leaflet@leafok.com
7     ***************************************************************************/
8    
9     /***************************************************************************
10     * *
11     * This program is free software; you can redistribute it and/or modify *
12     * it under the terms of the GNU General Public License as published by *
13     * the Free Software Foundation; either version 2 of the License, or *
14     * (at your option) any later version. *
15     * *
16     ***************************************************************************/
17    
18     #ifndef _LOG_H_
19     #define _LOG_H_
20    
21     extern int log_begin(char *file_log_std, char *file_log_err);
22    
23 sysadm 1.2 extern void log_end();
24 sysadm 1.1
25 sysadm 1.3 extern int log_head(char *buf, int len);
26 sysadm 1.1
27     extern int log_std(const char *format, ...);
28    
29     extern int log_error(const char *format, ...);
30    
31     extern int log_std_redirect(int fd);
32    
33     extern int log_err_redirect(int fd);
34    
35     #endif //_LOG_H_

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