/usr/include/libAfterBase/mystring.h is in libafterimage-dev 2.2.12-6.
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 | #ifndef MYSTRING_H_HEADER_INCLUDED
#define MYSTRING_H_HEADER_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
int mystrcasecmp (const char *s1, const char *s2);
int mystrncasecmp (const char *s1, const char *s2, size_t n);
int mystrcmp (const char *s1, const char *s2);
#ifndef mystrdup
char *mystrdup (const char *str);
#endif
#ifndef mystrndup
char *mystrndup (const char *str, size_t n);
#endif
/* using macro causes excessive compiler warnings. Stupid GCC 4 !!!!! */
/* #define destroy_string(ps) do{ if(ps && *(ps)){free(*(ps)); *(ps)=NULL;}}while(0) */
void destroy_string(char **ps);
/* use it to set string as well as flags and deallocate memory
referred to by the pointer */
void set_string (char **target, char *string);
#ifdef __cplusplus
}
#endif
#endif /* MYSTRING_H_HEADER_INCLUDED */
|