|
xapian-core
1.4.30
|
Read and write user metadata. More...
#include <config.h>#include <xapian.h>#include <iostream>#include <string>#include <cstdlib>#include <cstring>
Include dependency graph for xapian-metadata.cc:Go to the source code of this file.
Macros | |
| #define | PROG_NAME "xapian-metadata" |
| #define | PROG_DESC "Read and write user metadata" |
Functions | |
| static void | show_usage () |
| int | main (int argc, char **argv) |
Read and write user metadata.
Definition in file xapian-metadata.cc.
| #define PROG_DESC "Read and write user metadata" |
Definition at line 34 of file xapian-metadata.cc.
| #define PROG_NAME "xapian-metadata" |
Definition at line 33 of file xapian-metadata.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 43 of file xapian-metadata.cc.
References Xapian::WritableDatabase::commit(), Xapian::DB_CREATE_OR_OPEN, Xapian::Database::get_metadata(), Xapian::Database::metadata_keys_begin(), Xapian::Database::metadata_keys_end(), PACKAGE_STRING, PROG_DESC, PROG_NAME, Xapian::WritableDatabase::set_metadata(), and show_usage().
|
static |