auth.h revision 256281
162587Sitojun/*- 278064Sume * Copyright (c) 2003-2007, Petar Zhivkov Petrov <pesho.petrov@gmail.com> 362587Sitojun * All rights reserved. 4139823Simp * 553541Sshin * Redistribution and use in source and binary forms, with or without 653541Sshin * modification, are permitted provided that the following conditions 753541Sshin * are met: 853541Sshin * 1. Redistributions of source code must retain the above copyright 953541Sshin * notice, this list of conditions and the following disclaimer. 1053541Sshin * 2. Redistributions in binary form must reproduce the above copyright 1153541Sshin * notice, this list of conditions and the following disclaimer in the 1253541Sshin * documentation and/or other materials provided with the distribution. 1353541Sshin * 1453541Sshin * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1553541Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1653541Sshin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1753541Sshin * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1853541Sshin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1953541Sshin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2053541Sshin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2153541Sshin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2253541Sshin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2353541Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2453541Sshin * SUCH DAMAGE. 2553541Sshin * 2653541Sshin * $FreeBSD: stable/10/usr.bin/csup/auth.h 204556 2010-03-02 07:26:07Z lulf $ 2753541Sshin */ 2853541Sshin#ifndef _AUTH_H_ 2953541Sshin#define _AUTH_H_ 3053541Sshin 3153541Sshin#define AUTHFILE ".csup/auth" /* user home relative */ 3253541Sshin 3353541Sshinstruct config; 3453541Sshin 3553541Sshinint auth_login(struct config *); 3653541Sshin 3753541Sshin#endif /* !_AUTH_H_ */ 3853541Sshin 3953541Sshin