summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/common/yplog.h
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1996-01-20 00:30:43 +0000
committerchuck <chuck@cvs.openbsd.org>1996-01-20 00:30:43 +0000
commit5e45894b935feb563bb8d4a5cf1b19b63b3e155a (patch)
treed4e18129b1b2bb299d3d78a719fd624774d72893 /usr.sbin/ypserv/common/yplog.h
parent6dc750d8f697518875a5698b5c237b7520b8981a (diff)
Total re-write of yplog by Chuck Cranor
(made it more printf like)
Diffstat (limited to 'usr.sbin/ypserv/common/yplog.h')
-rw-r--r--usr.sbin/ypserv/common/yplog.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.sbin/ypserv/common/yplog.h b/usr.sbin/ypserv/common/yplog.h
index 77b1ea46097..dc2cdb05ac3 100644
--- a/usr.sbin/ypserv/common/yplog.h
+++ b/usr.sbin/ypserv/common/yplog.h
@@ -26,22 +26,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: yplog.h,v 1.1 1995/11/01 16:56:21 deraadt Exp $
+ * $Id: yplog.h,v 1.2 1996/01/20 00:30:35 chuck Exp $
*/
#ifndef _YPLOG_H_
#define _YPLOG_H_
__BEGIN_DECLS
-void yplog_date __P((char *));
-void yplog_line __P((char *));
-void yplog_str __P((char *));
-void yplog_cat __P((char *));
-#ifdef _RPC_SVC_H
-void yplog_call __P((SVCXPRT *));
-#endif
-void yplog_init __P((char *));
-void yplog_exit __P(());
+void yplog __P((const char *, ...));
+void vyplog __P((const char *, _BSD_VA_LIST_));
+void ypopenlog __P((void));
+void ypcloselog __P((void));
__END_DECLS
#endif /* !_YPLOG_H_ */