1309554Ssobomax/*- 2309554Ssobomax * Copyright (c) 2005 Andrey Simonenko 3309554Ssobomax * All rights reserved. 4309554Ssobomax * 5309554Ssobomax * Redistribution and use in source and binary forms, with or without 6309554Ssobomax * modification, are permitted provided that the following conditions 7309554Ssobomax * are met: 8309554Ssobomax * 1. Redistributions of source code must retain the above copyright 9309554Ssobomax * notice, this list of conditions and the following disclaimer. 10309554Ssobomax * 2. Redistributions in binary form must reproduce the above copyright 11309554Ssobomax * notice, this list of conditions and the following disclaimer in the 12309554Ssobomax * documentation and/or other materials provided with the distribution. 13309554Ssobomax * 14309554Ssobomax * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15309554Ssobomax * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16309554Ssobomax * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17309554Ssobomax * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18309554Ssobomax * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19309554Ssobomax * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20309554Ssobomax * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21309554Ssobomax * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22309554Ssobomax * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23309554Ssobomax * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24309554Ssobomax * SUCH DAMAGE. 25309554Ssobomax * 26309554Ssobomax * $FreeBSD: stable/11/tools/regression/sockets/unix_cmsg/t_cmsgcred.h 339066 2018-10-01 17:26:41Z sobomax $ 27309554Ssobomax */ 28309554Ssobomax 29309554Ssobomaxint t_cmsgcred_client(int fd); 30309554Ssobomaxint t_cmsgcred(void); 31