This file is indexed.

/usr/include/dpm/Cgetopt.h is in libdpm-dev 1.8.7-3.1+b1.

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
/*
 * $RCSfile: Cgetopt.h,v $ $Revision: 1.1.1.1 $ $Date: 2001/02/02 06:32:44 $ Jean-Damien Durand IT-PDP/DM
 */

/*
 * Copyright (C) 1999 by CERN/IT/PDP/DM
 * All rights reserved
 */

/*
 * Cgetopt.h    - CASTOR getopt definitions
 */

#ifndef __Cgetopt_h
#define __Cgetopt_h

#include <osdep.h>

struct Coptions {
  char *name;
  int has_arg;
  int *flag;
  int val;
};
typedef struct Coptions Coptions_t;

#define NO_ARGUMENT 0
#define REQUIRED_ARGUMENT 1
#define OPTIONAL_ARGUMENT 2

#if defined(_REENTRANT) || defined(_THREAD_SAFE) || \
   (defined(_WIN32) && (defined(_MT) || defined(_DLL)))
/*
 * Multi-thread (MT) environment
 */
EXTERN_C int  DLL_DECL  *C__Copterr _PROTO((void));
EXTERN_C int  DLL_DECL  *C__Coptind _PROTO((void));
EXTERN_C int  DLL_DECL  *C__Coptopt _PROTO((void));
EXTERN_C int  DLL_DECL  *C__Coptreset _PROTO((void));
EXTERN_C char DLL_DECL **C__Coptarg _PROTO((void));

/*
 * Thread safe serrno. Note, C__serrno is defined in Cglobals.c rather
 * rather than serror.c .
 */
#define Copterr (*C__Copterr())
#define Coptind (*C__Coptind())
#define Coptopt (*C__Coptopt())
#define Coptreset (*C__Coptreset())
#define Coptarg (*C__Coptarg())

#else /* _REENTRANT || _THREAD_SAFE ... */
/*
 * non-MT environment
 */
EXTERN_C  int DLL_DECL Copterr;
EXTERN_C  int DLL_DECL Coptind;
EXTERN_C  int DLL_DECL Coptopt;
EXTERN_C  int DLL_DECL Coptreset;
EXTERN_C  char DLL_DECL *Coptarg;
#endif /* _REENTRANT || _TREAD_SAFE */

EXTERN_C int DLL_DECL Cgetopt _PROTO((int, char * CONST *, CONST char *));
EXTERN_C int DLL_DECL Cgetopt_long _PROTO((int, char **, char *, Coptions_t *, int *));

#endif /* __Cgetopt_h */