/usr/include/elektra/kdbhelper.h is in libelektra-dev 0.8.14-5.
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 | #ifndef KDB_HELPER
#define KDB_HELPER
#include <stdarg.h>
#ifdef __cplusplus
namespace ckdb {
extern "C" {
#endif
/* Memory handling, please only use these function in plugins */
void *elektraMalloc (size_t size);
void *elektraCalloc (size_t size);
void elektraFree (void *ptr);
char *elektraStrDup (const char *s);
int elektraRealloc(void **buffer, size_t size);
int elektraStrCmp (const char *s1, const char *s2);
int elektraStrCaseCmp (const char *s1, const char *s2);
int elektraMemCaseCmp (const char *s1, const char *s2, size_t size);
size_t elektraStrLen(const char *s);
char *elektraFormat(const char *format, ...);
char *elektraVFormat(const char *format, va_list arg_list);
#ifdef __cplusplus
}
}
#endif
#endif
|