/usr/include/evhtp/config.h is in libevhtp-dev 1.2.16-1build1.
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 | #ifndef __EVHTP_CONFIG_H__
#define __EVHTP_CONFIG_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifndef EVHTP_EXPORT
# if (defined __GNUC__ && __GNUC__ >= 4) || defined __INTEL_COMPILER || defined __clang__
# define EVHTP_EXPORT __attribute__ ((visibility("default")))
# else
# define EVHTP_EXPORT
# endif
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1500 /* MSVC 2008 */
# define DEPRECATED(message) __declspec(deprecated(message))
#elif defined(__clang__) && defined(__has_feature)
# if __has_feature(attribute_deprecated_with_message)
# define DEPRECATED(message) __attribute__ ((deprecated(message)))
# endif
# elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
# define DEPRECATED(message) __attribute__ ((deprecated(message)))
# elif defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
# define DEPRECATED(message) __attribute__((__deprecated__))
# else
# define DEPRECATED(message)
#endif
#undef EVHTP_DISABLE_EVTHR
#undef EVHTP_DISABLE_REGEX
#undef EVHTP_DISABLE_SSL
#undef EVHTP_DISABLE_EVTHR
#undef EVHTP_DEBUG
/* #undef EVHTP_DISABLE_EVTHR */
/* #undef EVHTP_DISABLE_REGEX */
/* #undef EVHTP_DISABLE_SSL */
/* #undef EVHTP_DISABLE_EVTHR */
/* #undef EVHTP_USE_TCMALLOC */
/* #undef EVHTP_USE_JEMALLOC */
/* #undef EVHTP_USE_TCMALLOC */
/* #undef EVHTP_DEBUG */
/* #undef EVHTP_DISABLE_MEMFUNCTIONS */
#ifndef EVHTP_DISABLE_REGEX
#include <onigposix.h>
#endif
#ifdef EVHTP_USE_TCMALLOC
#include <google/tcmalloc.h>
#define malloc(size) tc_malloc(size)
#define calloc(count, size) tc_calloc(count, size)
#define realloc(ptr, size) tc_realloc(ptr, size)
#define free(ptr) tc_free(ptr)
#endif
#ifdef EVHTP_USE_JEMALLOC
#define JEMALLOC_NO_DEMANGLE
#include <jemalloc/jemalloc.h>
#define malloc(size) je_malloc(size)
#define calloc(count, size) je_calloc(count, size)
#define realloc(ptr, size) je_realloc(ptr, size)
#define free(ptr) je_free(ptr)
#endif
#ifdef __cplusplus
}
#endif
#endif
|