24 #ifndef SEAP_MESSAGE_H 25 #define SEAP_MESSAGE_H 29 #include <sexp-types.h> 30 #include "oscap_export.h" 36 #if SEAP_MSGID_BITS == 64 37 typedef uint64_t SEAP_msgid_t;
39 typedef uint32_t SEAP_msgid_t;
47 OSCAP_API
void SEAP_msg_free (
SEAP_msg_t *msg);
49 OSCAP_API SEAP_msgid_t SEAP_msg_id (
SEAP_msg_t *msg);
52 OSCAP_API
void SEAP_msg_unset (
SEAP_msg_t *msg);
56 OSCAP_API
int SEAP_msgattr_set (
SEAP_msg_t *msg,
const char *name,
SEXP_t *value);
57 OSCAP_API
int SEAP_msgattr_del (
SEAP_msg_t *msg,
const char *name);
58 OSCAP_API
bool SEAP_msgattr_exists (
SEAP_msg_t *msg,
const char *name);
61 OSCAP_API
void SEAP_msg_print (FILE *fp,
SEAP_msg_t *msg);
Definition: _seap-message.h:33
Definition: sexp-types.h:82
Definition: _seap-message.h:38