This file is indexed.

/usr/include/globus/myproxy_log.h is in libmyproxy-dev 6.1.28-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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
 * myproxy_log.h
 *
 * Logging routines for myproxy server.
 */
#ifndef __MYPROXY_LOG_H
#define __MYPROXY_LOG_H

#include <stdio.h>

/* Include this for convenience */
#include <syslog.h>

/*
 * myproxy_log_use_syslog()
 *
 * Use syslog with given name and facility for logging (as used for
 * the syslog call. If facility == 0 then no logging to syslog will
 * be done. name may be NULL indicate no name be used.
 */
void myproxy_log_use_syslog(int facility,
			    const char *name);


/*
 * myproxy_log_use_stream()
 *
 * Send log messages to the given stream. stream may be NULL which
 * turns this off.
 */
void myproxy_log_use_stream(FILE *stream);

/*
 * myproxy_log()
 *
 * Log something. Takes arguments like sprintf().
 */
void myproxy_log(const char *format, ...);

/*
 * mproxy_log_verror()
 *
 * Log the error condition as indicated in the verror context.
 */
void myproxy_log_verror();

/*
 * myproxy_log_perror()
 *
 * Log the error message followed by a description of the current
 * errror in errno.
 */
void myproxy_log_perror(const char *format, ...);

/*
 * myproxy_log_close()
 *
 * Shutdown logging and deallocate any memory associated with it.
 * All further logging will be ignoe unless another myproxy_log_use_*()
 * call is made.
 */
void myproxy_log_close();

/*
 * myproxy_debug_set_level()
 *
 * Turns debugging on or off, depending on wether value is non-zero
 * or zero respectively. Returns previous value for debugging.
 */
int myproxy_debug_set_level(int value);

/*
 * myproxy_debug()
 *
 * Log a debugging message. Will only be displayed if debugging is
 * enabled.
 */
void myproxy_debug(const char *format, ...);
 
#endif /* __MYPROXY_LOG_H */