xref: /openbsd-src/usr.sbin/ypserv/common/yplog.h (revision c916d9484c509baa9353d23da83498a233020707)
1*c916d948Smillert /*	$OpenBSD: yplog.h,v 1.6 2006/01/06 18:53:06 millert Exp $ */
2bbfaf3a3Sderaadt 
314c399efSderaadt /*
414c399efSderaadt  * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
514c399efSderaadt  * All rights reserved.
614c399efSderaadt  *
714c399efSderaadt  * Redistribution and use in source and binary forms, with or without
814c399efSderaadt  * modification, are permitted provided that the following conditions
914c399efSderaadt  * are met:
1014c399efSderaadt  * 1. Redistributions of source code must retain the above copyright
1114c399efSderaadt  *    notice, this list of conditions and the following disclaimer.
1214c399efSderaadt  * 2. Redistributions in binary form must reproduce the above copyright
1314c399efSderaadt  *    notice, this list of conditions and the following disclaimer in the
1414c399efSderaadt  *    documentation and/or other materials provided with the distribution.
1514c399efSderaadt  *
1614c399efSderaadt  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
1714c399efSderaadt  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1814c399efSderaadt  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1914c399efSderaadt  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2014c399efSderaadt  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2114c399efSderaadt  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2214c399efSderaadt  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2314c399efSderaadt  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2414c399efSderaadt  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2514c399efSderaadt  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2614c399efSderaadt  * SUCH DAMAGE.
2714c399efSderaadt  */
2814c399efSderaadt 
2914c399efSderaadt #ifndef _YPLOG_H_
3014c399efSderaadt #define _YPLOG_H_
3114c399efSderaadt 
3214c399efSderaadt __BEGIN_DECLS
33c72b5b24Smillert void    yplog(const char *, ...);
34*c916d948Smillert void    vyplog(const char *, __va_list);
35c72b5b24Smillert void	ypopenlog(void);
36c72b5b24Smillert void	ypcloselog(void);
3714c399efSderaadt __END_DECLS
3814c399efSderaadt 
3914c399efSderaadt #endif /* !_YPLOG_H_ */
40