mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 15:55:46 +00:00
Add extern "C" decls to aalogparse.h for C++ usage of aalogparse
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
@@ -19,6 +19,10 @@
|
|||||||
#ifndef __LIBAALOGPARSE_H_
|
#ifndef __LIBAALOGPARSE_H_
|
||||||
#define __LIBAALOGPARSE_H_
|
#define __LIBAALOGPARSE_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#define AA_RECORD_EXEC_MMAP 1
|
#define AA_RECORD_EXEC_MMAP 1
|
||||||
#define AA_RECORD_READ 2
|
#define AA_RECORD_READ 2
|
||||||
#define AA_RECORD_WRITE 4
|
#define AA_RECORD_WRITE 4
|
||||||
@@ -138,5 +142,9 @@ parse_record(const char *str);
|
|||||||
void
|
void
|
||||||
free_record(aa_log_record *record);
|
free_record(aa_log_record *record);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user