/home/pvrabec/openscap/openscap-0.5.6/src/OVAL/oval_sysItem.c File Reference

Open Vulnerability and Assessment Language. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oval_agent_api_impl.h"
#include "oval_system_characteristics_impl.h"
#include "oval_collection_impl.h"
#include "../common/util.h"
#include "../common/public/debug.h"

Data Structures

struct  oval_sysitem
 Handle: Oval_sysitem. More...

Typedefs

typedef struct oval_sysitem oval_sysitem_t

Functions

struct oval_sysitemoval_sysitem_new (struct oval_syschar_model *model)
bool oval_sysitem_is_valid (struct oval_sysitem *sysitem)
 return true if the sysitem instance is valid
bool oval_sysitem_is_locked (struct oval_sysitem *sysitem)
 return true if the sysitem instance is locked.
struct oval_sysitemoval_sysitem_clone (struct oval_syschar_model *new_model, struct oval_sysitem *old_item)
void oval_sysitem_free (struct oval_sysitem *sysitem)
bool oval_sysitem_iterator_has_more (struct oval_sysitem_iterator *oc_sysitem)
struct oval_sysitemoval_sysitem_iterator_next (struct oval_sysitem_iterator *oc_sysitem)
void oval_sysitem_iterator_free (struct oval_sysitem_iterator *oc_sysitem)
char * oval_sysitem_get_name (struct oval_sysitem *sysitem)
 Get system data item name.
oval_syschar_status_t oval_sysitem_get_status (struct oval_sysitem *sysitem)
 Get system data item status.
char * oval_sysitem_get_value (struct oval_sysitem *sysitem)
 Get system data item value.
oval_datatype_t oval_sysitem_get_datatype (struct oval_sysitem *sysitem)
 Get system data item data type.
int oval_sysitem_get_mask (struct oval_sysitem *sysitem)
 Get system data item mask.
void oval_sysitem_set_name (struct oval_sysitem *sysitem, char *name)
void oval_sysitem_set_status (struct oval_sysitem *sysitem, oval_syschar_status_t status)
void oval_sysitem_set_datatype (struct oval_sysitem *sysitem, oval_datatype_t datatype)
void oval_sysitem_set_mask (struct oval_sysitem *sysitem, int mask)
void oval_sysitem_set_value (struct oval_sysitem *sysitem, char *value)
int oval_sysitem_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, oval_sysitem_consumer consumer, void *client)
void oval_sysitem_to_print (struct oval_sysitem *sysitem, char *indent, int idx)
void oval_sysitem_to_dom (struct oval_sysitem *sysitem, xmlDoc *doc, xmlNode *parent)

Detailed Description

Open Vulnerability and Assessment Language.

See more details at http://oval.mitre.org/


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1