xapian-core
1.4.27
|
Read and write user metadata. More...
#include <config.h>
#include <xapian.h>
#include <iostream>
#include <string>
#include <cstdlib>
#include <cstring>
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.
Referenced by main().
#define PROG_NAME "xapian-metadata" |
Definition at line 33 of file xapian-metadata.cc.
Referenced by main(), and show_usage().
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::Error::get_description(), 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 |