2012-08-16 16:26:03 -07:00
|
|
|
#ifndef __AA_LIB_H_
|
|
|
|
#define __AA_LIB_H_
|
|
|
|
|
2015-03-25 17:09:27 -05:00
|
|
|
#include <sys/apparmor_private.h>
|
2014-04-15 14:59:41 -07:00
|
|
|
|
2015-03-25 17:09:27 -05:00
|
|
|
#define autofree __attribute((cleanup(_aa_autofree)))
|
|
|
|
#define autoclose __attribute((cleanup(_aa_autoclose)))
|
|
|
|
#define autofclose __attribute((cleanup(_aa_autofclose)))
|
2015-03-25 17:09:26 -05:00
|
|
|
|
2012-08-16 16:26:03 -07:00
|
|
|
int dirat_for_each(DIR *dir, const char *name, void *data,
|
|
|
|
int (* cb)(DIR *, const char *, struct stat *, void *));
|
|
|
|
|
2015-03-25 17:09:26 -05:00
|
|
|
int isodigit(char c);
|
2014-04-15 14:59:41 -07:00
|
|
|
long strntol(const char *str, const char **endptr, int base, long maxval,
|
|
|
|
size_t n);
|
|
|
|
int strn_escseq(const char **pos, const char *chrs, size_t n);
|
|
|
|
int str_escseq(const char **pos, const char *chrs);
|
|
|
|
|
2012-08-16 16:26:03 -07:00
|
|
|
#endif /* __AA_LIB_H_ */
|