This file is indexed.

/usr/include/wulfware/libwulf_wulfhosts.h is in libwulf-dev 2.6.0-0ubuntu2.

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
 *========================================================================
 * $Id: libwulf_wulfhosts.h 90 2004-09-30 17:38:02Z rgb $
 *
 * See copyright in copyright.h and the accompanying file COPYING
 *========================================================================
 */

#include <wulfware/libwulf_copyright.h>

/* We use these for certain buffer sizes */
#define K 1024
#define K4 4096
#define K64 65536

/* Default xmlsysd port */
#define XMLSYSD_PORT 7887

 /*
  * This flag says "connect to localhost only" and skips parsing
  * of wulfhosts files in any location.
  */
extern int localhosts_only;

 /*
  * The following structs exist only to allow <iprange> and <hostrange>
  * blocks of hosts to be read in and saved all at once.
  */
 typedef struct {
    char hostname[K];
    char hostip[K];
    unsigned long inetaddress;
    int port;
 } Hosttag;

 typedef struct {
    char hostfmt[K];
    int imin;
    int imax;
    int port;
 } Hostrange;

 typedef struct {
    int ipmin[4];
    int ipmax[4];
    int port;
 } IPrange;

 /*
  * We keep linked lists of host tags and host ranges and ip ranges
  * for parsing wulfhosts.
  */
extern List *hosttaglist;
extern List *hostrangelist;
extern List *iprangelist;

 /*
  * We'll also want a couple of linked lists for users and tasks to be
  * monitored.
  */
extern List *userlist;
extern List *tasklist;

 /*
  * Needed by connect_to_hosts() since it is always a threaded routine
  * and hence needs at most one argument
  */
 typedef struct {
   List *hostlist;
   int connect_delay;
 } Connectlist;