This file is indexed.

/usr/include/ruli_util.h is in libruli4-dev 0.33-1.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
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
/*-GNU-GPL-BEGIN-*
RULI - Resolver User Layer Interface - Querying DNS SRV records
Copyright (C) 2003 Everton da Silva Marques

RULI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

RULI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with RULI; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*-GNU-GPL-END-*/

/*
  $Id: ruli_util.h,v 1.5 2004/08/25 19:04:23 evertonm Exp $
  */


#ifndef RULI_UTIL_H
#define RULI_UTIL_H


#include <sys/types.h>


#ifndef RULI_MAX
#define RULI_MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif

#ifndef RULI_MIN
#define RULI_MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif

#ifndef LONG_MAX
#define LONG_MAX ( (long) ((((unsigned long) -1L) - 1) >> 1) )
#endif

#ifndef LONG_MIN
#define LONG_MIN ( -(LONG_MAX + 1) )
#endif


#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif

#if defined(_RULI_SOLARIS_) && !defined(__cplusplus)
extern int strcasecmp(const char *s1, const char *s2);
extern int strncasecmp(const char *s1, const char *s2, size_t n);
extern int snprintf(char *, size_t, const char *, ...);
#endif


typedef unsigned char  ruli_uint8_t;
typedef unsigned short ruli_uint16_t;
typedef unsigned int   ruli_uint32_t;

ruli_uint8_t *ruli_unpack2(ruli_uint8_t *i, ruli_uint16_t val);
ruli_uint16_t ruli_pack2(const ruli_uint8_t *i);
ruli_uint32_t ruli_pack4(const ruli_uint8_t *i);
void *ruli_memrchr(const void *buf, int c, size_t size);


#endif /* RULI_UTIL_H */