mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
The apparmor_parser has 3 different directory walking routines. Abstract them out and use a single common routine. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-By: Steve Beattie <sbeattie@ubuntu.com>
8 lines
188 B
C
8 lines
188 B
C
#ifndef __AA_LIB_H_
|
|
#define __AA_LIB_H_
|
|
|
|
int dirat_for_each(DIR *dir, const char *name, void *data,
|
|
int (* cb)(DIR *, const char *, struct stat *, void *));
|
|
|
|
#endif /* __AA_LIB_H_ */
|