This file is indexed.

/usr/include/diet/skalibs/socket.h is in skalibs-dev 0.47-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Public domain */

#ifndef SOCKET_H
#define SOCKET_H

#include "gccattributes.h"
#include "uint16.h"
#include "tai.h"

extern int socket_tcp (void) ;
extern int socket_udp (void) ;

extern int socket_deadlineconn (int, char const *, uint16, struct taia const *) ;
extern int socket_timeoutconn (int, char const *, uint16, unsigned int) ;
extern int socket_connect4 (int, char const *, uint16) ;
extern int socket_connected (int) gccattr_const ;
extern int socket_bind4 (int, char const *, uint16) ;
extern int socket_bind4_reuse (int, char const *, uint16) ;
extern int socket_listen (int, int) ;
extern int socket_accept4 (int, char *, uint16 *) ;
extern int socket_recv4 (int, char *, int, char *, uint16 *) ;
extern int socket_send4 (int, char const *, int, char const *, uint16) ;
extern int socket_local4 (int, char *, uint16 *) ;
extern int socket_remote4 (int, char *, uint16 *) ;

extern int socket_ipoptionskill (int) ;
extern int socket_tcpnodelay (int) ;
extern void socket_tryreservein (int, unsigned int) ;

#endif