This file is indexed.

/usr/include/skalibs/netstring.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
/* Public domain. */

#ifndef NETSTRING_H
#define NETSTRING_H

#include "buffer.h"
#include "stralloc.h"

extern int netstring_appendb (stralloc *, char const *, unsigned int) ;
#define netstring_appends(sa, s) netstring_appendb((sa), (s), str_len(s))
#define netstring_append(to, from) netstring_appendb((to), (from)->s, (from)->len)

extern int netstring_encode (stralloc *, char const *, unsigned int) ;
extern int netstring_decode (stralloc *, char const *, unsigned int) ;

extern int netstring_get (buffer_ref, stralloc *, unsigned int *) ;
extern int netstring_put (buffer_ref, char const *, unsigned int, unsigned int *) ;
#define netstring_putba(ba, s, n) netstring_appendb(&(ba)->x, (s), (n))

#endif