1203368Slulf/*- 2203368Slulf * Copyright (c) 2003-2007, Petar Zhivkov Petrov <pesho.petrov@gmail.com> 3203368Slulf * All rights reserved. 4203368Slulf * 5203368Slulf * Redistribution and use in source and binary forms, with or without 6203368Slulf * modification, are permitted provided that the following conditions 7203368Slulf * are met: 8203368Slulf * 1. Redistributions of source code must retain the above copyright 9203368Slulf * notice, this list of conditions and the following disclaimer. 10203368Slulf * 2. Redistributions in binary form must reproduce the above copyright 11203368Slulf * notice, this list of conditions and the following disclaimer in the 12203368Slulf * documentation and/or other materials provided with the distribution. 13203368Slulf * 14203368Slulf * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15203368Slulf * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16203368Slulf * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17203368Slulf * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18203368Slulf * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19203368Slulf * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20203368Slulf * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21203368Slulf * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22203368Slulf * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23203368Slulf * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24203368Slulf * SUCH DAMAGE. 25203368Slulf * 26203368Slulf * $FreeBSD: releng/10.3/usr.bin/csup/auth.h 204556 2010-03-02 07:26:07Z lulf $ 27203368Slulf */ 28203368Slulf#ifndef _AUTH_H_ 29203368Slulf#define _AUTH_H_ 30203368Slulf 31203368Slulf#define AUTHFILE ".csup/auth" /* user home relative */ 32203368Slulf 33203368Slulfstruct config; 34203368Slulf 35203368Slulfint auth_login(struct config *); 36203368Slulf 37203368Slulf#endif /* !_AUTH_H_ */ 38203368Slulf 39