This file is indexed.

/usr/include/paristraceroute/queue.h is in libparistraceroute-dev 0.93+git20160927-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
#ifndef QUEUE_H
#define QUEUE_H

#include <sys/eventfd.h>
#include <stdbool.h>

#include "list.h"

typedef struct {
    list_t * elements; /**< Elements stored in the queue */
    int      eventfd;  /**< File descriptor notifying an update in the queue */
} queue_t;

/**
 * \brief Create a new queue
 * \return A pointer to the newly created queue, NULL otherwise.
 */

queue_t * queue_create();

/**
 * \brief Delete a queue structure.
 * \param queue Points to the queue structure to delete.
 */

void queue_free(queue_t * queue, void (*element_free) (void * element));

/**
 * \brief Push an element in the queue
 * \param queue Points to the impacted queue instance
 * \param element Points to the pushed element
 * \return true iif successfull 
 */

bool queue_push_element(queue_t * queue, void * element);

/**
 * \brief Pop an element from the queue.
 * \param queue The queue from which we pop an element.
 * \param element_free Function called back to free the poped element.
 * \return The address of the poped element, NULL in case of failure.
 */

void * queue_pop_element(queue_t * queue, void (*element_free)(void * element));

/**
 * \brief Retrieve the file descriptor stored in a queue_t instance.
 * \param queue A pointer to a queue instance.
 * \return The corresponding file descriptor.
 */

int queue_get_fd(const queue_t * queue);

#endif