projects
/
bcm963xx.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
# BRCM_VERSION=3
[bcm963xx.git]
/
userapps
/
opensource
/
ftpd
/
logging.h
1
#ifndef LOGGING_H
2
#define LOGGING_H
3
4
extern FILE *logfile;
5
extern FILE *statuslog;
6
extern FILE *statuslogforreading;
7
8
void log_init();
9
10
/* Status codes */
11
#define SL_UNDEF 0
12
#define SL_SUCCESS 1
13
#define SL_FAILURE 2
14
15
/* Message type */
16
#define SL_INFO 1
17
#define SL_COMMAND 2
18
#define SL_REPLY 3
19
20
void bftpd_statuslog(char type, char type2, char *format, ...);
21
22
void bftpd_log(char *format, ...);
23
void log_end();
24
25
#endif