This file is indexed.

/usr/share/ratbox-services/include/rserv.h is in ratbox-services-common 1.2.4+repack-2.

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
/* $Id: rserv.h 25064 2008-02-08 21:16:19Z leeh $ */
#ifndef INCLUDED_rserv_h
#define INCLUDED_rserv_h

#define BUFSIZE 512
#define BUFSIZE_SAFE 450

#define MAX_DATE_STRING	32

#define PASSWDLEN	35
#define EMAILLEN	100
#define OPERNAMELEN	30
#define URLLEN		100

#define SUSPENDREASONLEN	200

int current_mark;
int testing_conf;

extern struct timeval system_time;
#define CURRENT_TIME system_time.tv_sec

extern void set_time(void);

extern void PRINTFLIKE(2, 3) die(int graceful, const char *format, ...);

extern int have_md5_crypt;

void init_crypt_seed(void);
const char *get_crypt(const char *password, const char *csalt);
const char *get_password(void);

char *rebuild_params(const char **, int, int);

int valid_servername(const char *);
int valid_sid(const char *);

struct client;
void count_memory(struct client *);

/* cidr.c */
int match_ips(const char *s1, const char *s2);
int match_cidr(const char *s1, const char *s2);

/* snprintf.c */
int rs_snprintf(char *, const size_t, const char *, ...);
int rs_vsnprintf(char *, const size_t, const char *, va_list);

#endif