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

Contents of /lbbs/include/log.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Mon May 5 14:27:57 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.3: +3 -1 lines
Content type: text/x-chdr
Refine for strict GCC error check

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 #include <stddef.h>
22
23 extern int log_begin(char *file_log_std, char *file_log_err);
24
25 extern void log_end();
26
27 extern int log_head(char *buf, size_t len);
28
29 extern int log_std(const char *format, ...);
30
31 extern int log_error(const char *format, ...);
32
33 extern int log_std_redirect(int fd);
34
35 extern int log_err_redirect(int fd);
36
37 #endif //_LOG_H_

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