11fab62b1SMaxim Sobolev /*- 21fab62b1SMaxim Sobolev * Copyright (c) 2005 Andrey Simonenko 31fab62b1SMaxim Sobolev * All rights reserved. 41fab62b1SMaxim Sobolev * 51fab62b1SMaxim Sobolev * Redistribution and use in source and binary forms, with or without 61fab62b1SMaxim Sobolev * modification, are permitted provided that the following conditions 71fab62b1SMaxim Sobolev * are met: 81fab62b1SMaxim Sobolev * 1. Redistributions of source code must retain the above copyright 91fab62b1SMaxim Sobolev * notice, this list of conditions and the following disclaimer. 101fab62b1SMaxim Sobolev * 2. Redistributions in binary form must reproduce the above copyright 111fab62b1SMaxim Sobolev * notice, this list of conditions and the following disclaimer in the 121fab62b1SMaxim Sobolev * documentation and/or other materials provided with the distribution. 131fab62b1SMaxim Sobolev * 141fab62b1SMaxim Sobolev * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 151fab62b1SMaxim Sobolev * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 161fab62b1SMaxim Sobolev * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 171fab62b1SMaxim Sobolev * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 181fab62b1SMaxim Sobolev * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 191fab62b1SMaxim Sobolev * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 201fab62b1SMaxim Sobolev * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 211fab62b1SMaxim Sobolev * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 221fab62b1SMaxim Sobolev * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 231fab62b1SMaxim Sobolev * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 241fab62b1SMaxim Sobolev * SUCH DAMAGE. 251fab62b1SMaxim Sobolev */ 261fab62b1SMaxim Sobolev 271fab62b1SMaxim Sobolev int t_cmsgcred_client(int fd); 281fab62b1SMaxim Sobolev int t_cmsgcred(void); 29