"Fossies" - the Fresh Open Source Software Archive

Member "haproxy-2.0.0/include/proto/proto_sockpair.h" (16 Jun 2019, 999 Bytes) of package /linux/misc/haproxy-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "proto_sockpair.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Socket Pair protocol layer (sockpair)
    3  *
    4  * Copyright HAProxy Technologies - William Lallemand <wlallemand@haproxy.com>
    5  *
    6  * This library is free software; you can redistribute it and/or
    7  * modify it under the terms of the GNU Lesser General Public
    8  * License as published by the Free Software Foundation, version 2.1
    9  * exclusively.
   10  *
   11  * This library is distributed in the hope that it will be useful,
   12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   14  * Lesser General Public License for more details.
   15  *
   16  * You should have received a copy of the GNU Lesser General Public
   17  * License along with this library; if not, write to the Free Software
   18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
   19  */
   20 
   21 #ifndef _PROTO_PROTO_SOCKPAIR_H
   22 # define _PROTO_PROTO_SOCKPAIR_H
   23 
   24 int recv_fd_uxst(int sock);
   25 int send_fd_uxst(int fd, int send_fd);
   26 
   27 #endif /* _PROTO_PROTO_SOCKPAIR_H  */
   28