1
.\" Hey, EMACS: -*- nroff -*-
2
.TH RULEXDB_DISCARD_DICTIONARY 3 "February 22, 2012"
4
rulexdb_discard_dictionary \- remove specified dictionary dataset from a rulex database
9
.BI "int rulexdb_discard_dictionary(RULEXDB *" rulexdb ", int " item_type );
13
.BR rulexdb_discard_dictionary ()
14
function removes all data from dictionary dataset specified by
16
argument that may accept one of the following values:
19
Discard the \fBImplicit\fP dictionary.
22
Discard the \fBExplicit\fP dictionary.
24
Note that the data type must be specified explicitly. The value
30
references the database to deal with.
33
.BR rulexdb_discard_dictionary ()
34
function returns number of deleted records or negative error code.
38
Referenced database has not been opened, internal data structures are
39
corrupted or some other general failure has occurred.
42
Invalid arguments are specified.
45
The database is not opened for updating.
47
.BR rulexdb_classify (3),
49
.BR rulexdb_dataset_name (3),
50
.BR rulexdb_discard_ruleset (3),
51
.BR rulexdb_fetch_rule (3),
52
.BR rulexdb_lexbase (3),
53
.BR rulexdb_load_ruleset (3),
55
.BR rulexdb_remove_item (3),
56
.BR rulexdb_remove_rule (3),
57
.BR rulexdb_remove_this_item (3),
58
.BR rulexdb_retrieve_item (3),
59
.BR rulexdb_search (3),
61
.BR rulexdb_subscribe_item (3),
62
.BR rulexdb_subscribe_rule (3)
64
Igor B. Poretsky <poretsky@mlbox.ru>.