Imported Upstream version 2.4.3
[platform/upstream/audit.git] / auparse / interpret.h
1 /* interpret.h --
2  * Copyright 2007,08 Red Hat Inc., Durham, North Carolina.
3  * All Rights Reserved.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  * Authors:
20  *      Steve Grubb <sgrubb@redhat.com>
21  */
22
23 #ifndef INTERPRET_HEADER
24 #define INTERPRET_HEADER
25
26 #include "config.h"
27 #include "private.h"
28 #include "rnode.h"
29 #include <time.h>
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35
36 int lookup_type(const char *name);
37 const char *interpret(const rnode *r);
38 void aulookup_destroy_uid_list(void);
39 void aulookup_destroy_gid_list(void);
40 char *au_unescape(char *buf);
41
42 /* Make these hidden to prevent conflicts */
43 hidden_proto(lookup_type);
44 hidden_proto(interpret);
45 hidden_proto(aulookup_destroy_uid_list);
46 hidden_proto(aulookup_destroy_gid_list);
47 hidden_proto(au_unescape);
48
49 #ifdef __cplusplus
50 }
51 #endif
52  
53 #endif
54