log.h revision 256281
1251129Sdelphij/*
2251129Sdelphij * log.h
3251129Sdelphij *
4251129Sdelphij * Copyright (c) 2004 Maksim Yevmenkin <m_evmenkin@yahoo.com>
5251129Sdelphij * All rights reserved.
6251129Sdelphij *
7251129Sdelphij * Redistribution and use in source and binary forms, with or without
8251129Sdelphij * modification, are permitted provided that the following conditions
9251129Sdelphij * are met:
10251129Sdelphij * 1. Redistributions of source code must retain the above copyright
11251129Sdelphij *    notice, this list of conditions and the following disclaimer.
12251129Sdelphij * 2. Redistributions in binary form must reproduce the above copyright
13251129Sdelphij *    notice, this list of conditions and the following disclaimer in the
14251129Sdelphij *    documentation and/or other materials provided with the distribution.
15251129Sdelphij *
16251129Sdelphij * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17251129Sdelphij * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18251129Sdelphij * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19251129Sdelphij * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20251129Sdelphij * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21251129Sdelphij * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22251129Sdelphij * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23251129Sdelphij * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24251129Sdelphij * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25251129Sdelphij * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26251129Sdelphij * SUCH DAMAGE.
27251129Sdelphij *
28251129Sdelphij * $Id: log.h,v 1.1 2004/01/07 23:15:00 max Exp $
29251129Sdelphij * $FreeBSD: stable/10/usr.sbin/bluetooth/sdpd/log.h 124758 2004-01-20 20:48:26Z emax $
30251129Sdelphij */
31251129Sdelphij
32251129Sdelphij#ifndef _LOG_H_
33241231Sdelphij#define _LOG_H_
34241231Sdelphij
35241231Sdelphijvoid	log_open	(char const *prog, int32_t log2stderr);
36241231Sdelphijvoid	log_close	(void);
37241231Sdelphijvoid	log_emerg	(char const *message, ...);
38241231Sdelphijvoid	log_alert	(char const *message, ...);
39241231Sdelphijvoid	log_crit	(char const *message, ...);
40241231Sdelphijvoid	log_err		(char const *message, ...);
41241231Sdelphijvoid	log_warning	(char const *message, ...);
42241231Sdelphijvoid	log_notice	(char const *message, ...);
43241231Sdelphijvoid	log_info	(char const *message, ...);
44241231Sdelphijvoid	log_debug	(char const *message, ...);
45241231Sdelphij
46241231Sdelphij#endif /* ndef _LOG_H_ */
47241231Sdelphij
48241231Sdelphij