File: log.h

package info (click to toggle)
rocks 2.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 284 kB
  • ctags: 412
  • sloc: ansic: 5,218; makefile: 111
file content (19 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 
 *  rocks/log.h
 *
 *  Copyright (C) 2001 Victor Zandy
 *  See COPYING for distribution terms.
 */
#ifndef _LOG_H_
#define _LOG_H_

#define RS_LOGSTDERR        1
#define RS_LOGNOLOG         2
#define RS_LOGPRECISETIME   4
void rs_log(char *fmt, ...);
void rs_tty_print(char *fmt, ...);
int rs_startlog(const char *logfilename, int flags);
void rs_closelog();
int rs_logfileno();

#endif /* _LOG_H_ */