Functions to access and manipulate textual data. More...
Data Structures | |
struct | oscap_string_iterator |
String iterator. More... | |
struct | oscap_title |
Title of an OpenScap element. More... | |
struct | oscap_title_iterator |
Iterator over an array of oscap_title elements. More... | |
struct | oscap_text |
Representation of internationalizable character strings. More... | |
struct | oscap_text_iterator |
Internationalized string iterator. More... | |
Functions | |
const char * | oscap_string_iterator::oscap_string_iterator_next (struct oscap_string_iterator *it) |
bool | oscap_string_iterator::oscap_string_iterator_has_more (struct oscap_string_iterator *it) |
void | oscap_string_iterator::oscap_string_iterator_free (struct oscap_string_iterator *it) |
void | oscap_string_iterator::oscap_string_iterator_remove (struct oscap_string_iterator *it) |
const char * | oscap_title::oscap_title_get_language (const struct oscap_title *title) |
Get oscap title language. | |
bool | oscap_title::oscap_title_set_content (struct oscap_title *title, const char *new_content) |
Set oscap title content. | |
struct oscap_title * | oscap_title_iterator::oscap_title_iterator_next (struct oscap_title_iterator *it) |
void | oscap_title_iterator::oscap_title_iterator_free (struct oscap_title_iterator *it) |
bool | oscap_title_iterator::oscap_title_iterator_has_more (struct oscap_title_iterator *it) |
void | oscap_title::oscap_title_iterator_remove (struct oscap_title_iterator *it) |
struct oscap_text * | oscap_text::oscap_text_new (void) |
Create an internationalized text field. | |
struct oscap_text * | oscap_text::oscap_text_new_html (void) |
Create an internationalized text field with HTML content. | |
void | oscap_text::oscap_text_free (struct oscap_text *) |
Release an internationalized text field. | |
const char * | oscap_text::oscap_text_get_text (const struct oscap_text *text) |
bool | oscap_text::oscap_text_set_text (struct oscap_text *text, const char *string) |
const char * | oscap_text::oscap_text_get_lang (const struct oscap_text *text) |
bool | oscap_text::oscap_text_set_lang (struct oscap_text *text, const char *string) |
bool | oscap_text::oscap_text_get_is_html (const struct oscap_text *text) |
Does this text posses a HTML content? | |
bool | oscap_text::oscap_text_get_can_substitute (const struct oscap_text *text) |
Can this text contain substitutions? | |
bool | oscap_text::oscap_text_get_can_override (const struct oscap_text *text) |
Can this text override parent content? | |
bool | oscap_text::oscap_text_get_overrides (const struct oscap_text *text) |
Does this text override parent content? | |
bool | oscap_text::oscap_text_set_overrides (struct oscap_text *text, bool overrides) |
Set whether this text overrides parent content. | |
struct oscap_text * | oscap_text_iterator::oscap_text_iterator_next (struct oscap_text_iterator *it) |
bool | oscap_text_iterator::oscap_text_iterator_has_more (struct oscap_text_iterator *it) |
void | oscap_text_iterator::oscap_text_iterator_free (struct oscap_text_iterator *it) |
void | oscap_text_iterator::oscap_text_iterator_remove (struct oscap_text_iterator *it) |
Common language codes | |
| |
const char *const | OSCAP_LANG_ENGLISH |
English. | |
const char *const | OSCAP_LANG_ENGLISH_US |
American English. | |
const char *const | OSCAP_LANG_DEFAULT |
Default language (i.e. American English). | |
Get functions | |
Functions for getting attributes from CVE model structures. Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. | |
const char * | oscap_title::oscap_title_get_content (const struct oscap_title *title) |
Get oscap title content. |
Functions to access and manipulate textual data.
void oscap_string_iterator_free | ( | struct oscap_string_iterator * | it | ) | [related, inherited] |
bool oscap_string_iterator_has_more | ( | struct oscap_string_iterator * | it | ) | [related, inherited] |
const char * oscap_string_iterator_next | ( | struct oscap_string_iterator * | it | ) | [related, inherited] |
void oscap_string_iterator_remove | ( | struct oscap_string_iterator * | it | ) | [related, inherited] |
const char * oscap_text_get_lang | ( | const struct oscap_text * | text | ) | [inherited] |
const char * oscap_text_get_text | ( | const struct oscap_text * | text | ) | [inherited] |
void oscap_text_iterator_free | ( | struct oscap_text_iterator * | it | ) | [inherited] |
bool oscap_text_iterator_has_more | ( | struct oscap_text_iterator * | it | ) | [inherited] |
struct oscap_text * oscap_text_iterator_next | ( | struct oscap_text_iterator * | it | ) | [read, inherited] |
void oscap_text_iterator_remove | ( | struct oscap_text_iterator * | it | ) | [inherited] |
struct oscap_text * oscap_text_new | ( | void | ) | [read, inherited] |
Create an internationalized text field.
lang | - language identifier ( |
encoding | - language encoding ( |
struct oscap_text * oscap_text_new_html | ( | void | ) | [read, inherited] |
Create an internationalized text field with HTML content.
lang | - language identifier ( |
encoding | - language encoding ( |
bool oscap_text_set_lang | ( | struct oscap_text * | text, | |
const char * | string | |||
) | [inherited] |
bool oscap_text_set_text | ( | struct oscap_text * | text, | |
const char * | string | |||
) | [inherited] |
const char * oscap_title_get_content | ( | const struct oscap_title * | title | ) | [related, inherited] |
Get oscap title content.
oscap_title functions to get variable members
item | title elements |
void oscap_title_iterator_free | ( | struct oscap_title_iterator * | it | ) | [related, inherited] |
bool oscap_title_iterator_has_more | ( | struct oscap_title_iterator * | it | ) | [related, inherited] |
struct oscap_title * oscap_title_iterator_next | ( | struct oscap_title_iterator * | it | ) | [related, inherited] |
void oscap_title_iterator_remove | ( | struct oscap_title_iterator * | it | ) | [related, inherited] |