Debian Codegraph @

src/OVAL/probes/SEAP/_seap-message.h

raw symbols SCIP
1 /*
2 * Copyright 2009 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 * Authors:
20 * "Daniel Kopecek" <[email protected]>
21 */
22
23 #pragma once
24 #ifndef _SEAP_MESSAGE_H
25 #define _SEAP_MESSAGE_Hcxx . . $ `src/OVAL/probes/SEAP/_seap-message.h:25:9`!
26
27 #include <stdint.h>
28 #include "public/sexp-types.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/public/sexp-types.h`/
29 #include "../../../common/util.h"cxx . . $ `<file>/src/common/util.h`/
30
31 #if SEAP_MSGID_BITScxx . . $ `build/config.h:61:9`! == 64
32 typedef uint64_t SEAP_msgid_t;
33 #else
34 typedef uint32_tcxx . . $ uint32_t# SEAP_msgid_tcxx . . $ SEAP_msgid_t#;
35 #endif
36
37 struct SEAP_attrcxx . . $ SEAP_attr# {
38 char *namecxx . . $ SEAP_attr#name.;
39 SEXP_tcxx . . $ SEXP_t# *valuecxx . . $ SEAP_attr#value.;
40 };
41
42 typedef struct SEAP_attrcxx . . $ SEAP_attr# SEAP_attr_tcxx . . $ SEAP_attr_t#;
43
44 struct SEAP_msgcxx . . $ SEAP_msg# {
45 SEAP_msgid_tcxx . . $ SEAP_msgid_t# idcxx . . $ SEAP_msg#id.;
46 SEAP_attr_tcxx . . $ SEAP_attr_t# *attrscxx . . $ SEAP_msg#attrs.;
47 uint16_tcxx . . $ uint16_t# attrs_cntcxx . . $ SEAP_msg#attrs_cnt.;
48 SEXP_tcxx . . $ SEXP_t# *sexpcxx . . $ SEAP_msg#sexp.;
49 };
50
51 typedef struct SEAP_msgcxx . . $ SEAP_msg# SEAP_msg_tcxx . . $ SEAP_msg_t#;
52
53 SEAP_msg_tcxx . . $ SEAP_msg_t# *SEAP_msg_newcxx . . $ SEAP_msg_new(b76a66c6f733d68f).(void);
54 SEAP_msg_tcxx . . $ SEAP_msg_t# *SEAP_msg_clonecxx . . $ SEAP_msg_clone(5f7ab50696302eaa).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg);
55 void SEAP_msg_freecxx . . $ SEAP_msg_free(4995d55015d41e57).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg);
56
57 SEAP_msgid_tcxx . . $ SEAP_msgid_t# SEAP_msg_idcxx . . $ SEAP_msg_id(18c00517003ebe74).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg);
58
59 int SEAP_msg_setcxx . . $ SEAP_msg_set(780f103242f3120a).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg, SEXP_tcxx . . $ SEXP_t# *sexp);
60 void SEAP_msg_unsetcxx . . $ SEAP_msg_unset(4995d55015d41e57).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg);
61 SEXP_tcxx . . $ SEXP_t# *SEAP_msg_getcxx . . $ SEAP_msg_get(265ef69b98da50a9).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg);
62
63 int SEAP_msgattr_setcxx . . $ SEAP_msgattr_set(be99563c35b05491).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg, const char *name, SEXP_tcxx . . $ SEXP_t# *value);
64 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! SEAP_msgattr_existscxx . . $ SEAP_msgattr_exists(2dc8898f2a6eccd3).(SEAP_msg_tcxx . . $ SEAP_msg_t# *msg, const char *name);
65
66 #endif /* _SEAP_MESSAGE_H */