/usr/include/paristraceroute/common.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 55 56 57 58 59 60 | #ifndef COMMON_H
#define COMMON_H
/**
* \brief Type related to a *_free() function
*/
#define ELEMENT_FREE void (*)(void *)
/**
* \brief Type related to a *_dup() function
*/
#define ELEMENT_DUP void * (*)(const void *)
/**
* \brief Type related to a *_dump() function
*/
#define ELEMENT_DUMP void (*)(const void *)
/**
* \brief Type related to a *_compare() function
*/
#define ELEMENT_COMPARE int (*)(const void *, const void *)
/**
* \brief Macro returning the minimal value of two elements
* \param x The left operand
* \param x The right operand
* \return The min of x and y
*/
#define MIN(x, y) ((x) < (y) ? (x) : (y))
/**
* \brief Macro returning the maximal value of two elements
* \param x The left operand
* \param x The right operand
* \return The max of x and y
*/
#define MAX(x, y) ((x) > (y) ? (x) : (y))
/**
* \return The current timestamp (in seconds)
*/
double get_timestamp();
/**
* \bruef Print some space characters
* \param indent The number of space characters to print
* in the standard output
*/
void print_indent(unsigned int indent);
#endif
|