12208eadfSEd Schouten /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 35e53a4f9SPedro F. Giffuni * 42208eadfSEd Schouten * Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org> 52208eadfSEd Schouten * All rights reserved. 62208eadfSEd Schouten * 72208eadfSEd Schouten * Redistribution and use in source and binary forms, with or without 82208eadfSEd Schouten * modification, are permitted provided that the following conditions 92208eadfSEd Schouten * are met: 102208eadfSEd Schouten * 1. Redistributions of source code must retain the above copyright 112208eadfSEd Schouten * notice, this list of conditions and the following disclaimer. 122208eadfSEd Schouten * 2. Redistributions in binary form must reproduce the above copyright 132208eadfSEd Schouten * notice, this list of conditions and the following disclaimer in the 142208eadfSEd Schouten * documentation and/or other materials provided with the distribution. 152208eadfSEd Schouten * 162208eadfSEd Schouten * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 172208eadfSEd Schouten * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 182208eadfSEd Schouten * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 192208eadfSEd Schouten * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 202208eadfSEd Schouten * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 212208eadfSEd Schouten * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 222208eadfSEd Schouten * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 232208eadfSEd Schouten * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 242208eadfSEd Schouten * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 252208eadfSEd Schouten * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 262208eadfSEd Schouten * SUCH DAMAGE. 272208eadfSEd Schouten */ 282208eadfSEd Schouten 292208eadfSEd Schouten #ifndef _ULOG_H_ 302208eadfSEd Schouten #define _ULOG_H_ 312208eadfSEd Schouten 322208eadfSEd Schouten #include <sys/cdefs.h> 332208eadfSEd Schouten 342208eadfSEd Schouten __BEGIN_DECLS 352208eadfSEd Schouten void ulog_login(const char *, const char *, const char *); 362208eadfSEd Schouten void ulog_login_pseudo(int, const char *); 372208eadfSEd Schouten void ulog_logout(const char *); 382208eadfSEd Schouten void ulog_logout_pseudo(int); 392208eadfSEd Schouten __END_DECLS 402208eadfSEd Schouten 412208eadfSEd Schouten #endif /* !_ULOG_H_ */ 42