File: my_log.h

package info (click to toggle)
fprobe 1.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 764 kB
  • sloc: sh: 3,165; ansic: 2,177; makefile: 15
file content (24 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
	Copyright (C) Slava Astashonok <sla@0n.ru>

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License.

	$Id: my_log.h,v 1.1.1.1.2.2 2004/02/02 08:06:24 sla Exp $
*/

#ifndef _MY_LOG_H_
#define _MY_LOG_H_

#define MY_LOG_SYSLOG 0x01
#define MY_LOG_STDOUT 0x02
#define MY_LOG_SYSLOG_FACILITY LOG_DAEMON
#define MY_LOG_MAX_INDEX 32

#include <syslog.h>

void my_log_open(char *, unsigned, unsigned);
void my_log_close(void);
void my_log(unsigned, const char *, ...);

#endif