Main Page
Related Pages
Modules
Classes
Files
File List
File Members
include
log.h
1
#ifndef LOG_H
2
#define LOG_H 1
3
4
5
/* ========================================================================== */
6
/* Include files */
7
8
#include <stdio.h>
9
10
11
/* ========================================================================== */
12
/* Function prototypes */
13
14
const
char
*
log_get_logpathname
(
void
);
15
void
log_delete_logfile
(
void
);
16
int
log_open_logfile
(FILE**,
const
char
*);
17
void
log_close_logfile
(FILE**);
18
void
log_add
(FILE*,
const
char
*);
19
void
log_free
(
void
*);
20
21
22
#endif
/* LOG_H */
23
24
/* EOF */
log_free
void log_free(void *)
Free an object allocated by logging module.
Definition:
log.c:200
log_get_logpathname
const char * log_get_logpathname(void)
Get logfile pathname.
Definition:
log.c:55
log_add
void log_add(FILE *, const char *)
Add data to end of logfile.
Definition:
log.c:175
log_close_logfile
void log_close_logfile(FILE **)
Close logfile.
Definition:
log.c:158
log_open_logfile
int log_open_logfile(FILE **, const char *)
Open logfile.
Definition:
log.c:114
log_delete_logfile
void log_delete_logfile(void)
Delete logfile if present.
Definition:
log.c:85
Generated at 2024-04-27 using