id.h revision 36285
10SN/A/*- 22362SN/A * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 30SN/A * All rights reserved. 40SN/A * 50SN/A * Redistribution and use in source and binary forms, with or without 60SN/A * modification, are permitted provided that the following conditions 72362SN/A * are met: 80SN/A * 1. Redistributions of source code must retain the above copyright 92362SN/A * notice, this list of conditions and the following disclaimer. 100SN/A * 2. Redistributions in binary form must reproduce the above copyright 110SN/A * notice, this list of conditions and the following disclaimer in the 120SN/A * documentation and/or other materials provided with the distribution. 130SN/A * 140SN/A * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 150SN/A * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 160SN/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 170SN/A * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 180SN/A * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 190SN/A * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 200SN/A * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 212362SN/A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 222362SN/A * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 232362SN/A * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 240SN/A * SUCH DAMAGE. 250SN/A * 260SN/A * $Id: id.h,v 1.3.4.4 1998/04/30 23:53:40 brian Exp $ 27883SN/A */ 28883SN/A 290SN/Astruct utmp; 30883SN/Astruct sockaddr_un; 31883SN/A 320SN/Aextern void ID0init(void); 330SN/Aextern uid_t ID0realuid(void); 340SN/Aextern int ID0ioctl(int, unsigned long, void *); 350SN/Aextern int ID0unlink(const char *); 360SN/Aextern int ID0socket(int, int, int); 370SN/Aextern FILE *ID0fopen(const char *, const char *); 380SN/Aextern int ID0open(const char *, int, ...); 39883SN/Aextern int ID0write(int, const void *, size_t); 40883SN/Aextern int ID0uu_lock(const char *); 41883SN/Aextern int ID0uu_unlock(const char *); 42883SN/Aextern void ID0login(struct utmp *); 43883SN/Aextern void ID0logout(const char *); 44883SN/Aextern int ID0bind_un(int, const struct sockaddr_un *); 45883SN/Aextern int ID0connect_un(int, const struct sockaddr_un *); 46883SN/A