This file is indexed.

/usr/include/openwsman/u/lock.h is in libopenwsman-dev 2.2.3-0ubuntu4.

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
#ifndef LOCKING_H
#define LOCKING_H

#if defined (__FreeBSD__)  || defined (__OpenBSD__) || defined (__NetBSD__) || defined (__APPLE__)
/* Provide the Linux initializers for MacOS X */
#define PTHREAD_MUTEX_RECURSIVE_NP                                      PTHREAD_MUTEX_RECURSIVE
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP           { 0x4d555458, \
                                                           { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
                                                                                                                     0x20 } }
#endif


void u_unlock(void* data);
void u_destroy_lock(void* data);
void u_lock(void* data);
int u_try_lock(void* data);
void u_init_lock(void *data);


#endif