File: log.h

package info (click to toggle)
twoftpd 1.21-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 592 kB
  • ctags: 314
  • sloc: ansic: 2,046; sh: 1,947; makefile: 104
file content (14 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef TWOFTPD__LOG__H__
#define TWOFTPD__LOG__H__

extern const char program[];

extern void log_start(void);
#define log_str(S) obuf_puts(&errbuf, S)
#define log_uint(U) obuf_putu(&errbuf, U)
#define log_end() obuf_putsflush(&errbuf, "\n")

extern void log1(const char*);
extern void log2(const char*, const char*);

#endif