1*1fab62b1SMaxim Sobolev /*- 2*1fab62b1SMaxim Sobolev * Copyright (c) 2005 Andrey Simonenko 3*1fab62b1SMaxim Sobolev * All rights reserved. 4*1fab62b1SMaxim Sobolev * 5*1fab62b1SMaxim Sobolev * Redistribution and use in source and binary forms, with or without 6*1fab62b1SMaxim Sobolev * modification, are permitted provided that the following conditions 7*1fab62b1SMaxim Sobolev * are met: 8*1fab62b1SMaxim Sobolev * 1. Redistributions of source code must retain the above copyright 9*1fab62b1SMaxim Sobolev * notice, this list of conditions and the following disclaimer. 10*1fab62b1SMaxim Sobolev * 2. Redistributions in binary form must reproduce the above copyright 11*1fab62b1SMaxim Sobolev * notice, this list of conditions and the following disclaimer in the 12*1fab62b1SMaxim Sobolev * documentation and/or other materials provided with the distribution. 13*1fab62b1SMaxim Sobolev * 14*1fab62b1SMaxim Sobolev * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*1fab62b1SMaxim Sobolev * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*1fab62b1SMaxim Sobolev * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*1fab62b1SMaxim Sobolev * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*1fab62b1SMaxim Sobolev * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*1fab62b1SMaxim Sobolev * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*1fab62b1SMaxim Sobolev * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*1fab62b1SMaxim Sobolev * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*1fab62b1SMaxim Sobolev * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*1fab62b1SMaxim Sobolev * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*1fab62b1SMaxim Sobolev * SUCH DAMAGE. 25*1fab62b1SMaxim Sobolev */ 26*1fab62b1SMaxim Sobolev 27*1fab62b1SMaxim Sobolev int t_peercred(void); 28