id.h revision 33603
1254721Semaste/*- 2254721Semaste * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3254721Semaste * All rights reserved. 4254721Semaste * 5254721Semaste * Redistribution and use in source and binary forms, with or without 6254721Semaste * modification, are permitted provided that the following conditions 7254721Semaste * are met: 8254721Semaste * 1. Redistributions of source code must retain the above copyright 9254721Semaste * notice, this list of conditions and the following disclaimer. 10254721Semaste * 2. Redistributions in binary form must reproduce the above copyright 11254721Semaste * notice, this list of conditions and the following disclaimer in the 12254721Semaste * documentation and/or other materials provided with the distribution. 13254721Semaste * 14254721Semaste * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15254721Semaste * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16254721Semaste * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17254721Semaste * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18254721Semaste * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19254721Semaste * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20254721Semaste * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21254721Semaste * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22254721Semaste * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23254721Semaste * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24254721Semaste * SUCH DAMAGE. 25254721Semaste * 26254721Semaste * $Id: id.h,v 1.3 1997/12/27 19:23:13 brian Exp $ 27254721Semaste */ 28254721Semaste 29254721Semastestruct utmp; 30254721Semaste 31254721Semasteextern void ID0init(void); 32254721Semasteextern uid_t ID0realuid(void); 33254721Semasteextern int ID0ioctl(int, unsigned long, void *); 34254721Semasteextern int ID0unlink(const char *); 35254721Semasteextern int ID0socket(int, int, int); 36254721Semasteextern FILE *ID0fopen(const char *, const char *); 37263367Semasteextern int ID0open(const char *, int); 38263367Semasteextern int ID0write(int, const void *, size_t); 39263367Semasteextern int ID0uu_lock(const char *); 40263367Semasteextern int ID0uu_unlock(const char *); 41254721Semasteextern void ID0login(struct utmp *); 42254721Semasteextern void ID0logout(const char *); 43254721Semaste