bin/quartzdump.cc File Reference

#include <config.h>
#include <xapian/error.h>
#include "btree.h"
#include "bcursor.h"
#include "quartz_types.h"
#include <iostream>
#include <vector>
#include <string>
#include <ctype.h>
#include "autoptr.h"
#include "gnu_getopt.h"

Include dependency graph for quartzdump.cc:

Go to the source code of this file.

Defines

#define PROG_NAME   "quartzdump"
#define PROG_DESC   "Dump a quartz table for debugging purposes"
#define OPT_HELP   1
#define OPT_VERSION   2

Functions

static void show_usage ()
static string hex_encode (const string &input)
int main (int argc, char *argv[])


Define Documentation

#define PROG_NAME   "quartzdump"

Definition at line 38 of file quartzdump.cc.

#define PROG_DESC   "Dump a quartz table for debugging purposes"

Definition at line 39 of file quartzdump.cc.

#define OPT_HELP   1

Definition at line 41 of file quartzdump.cc.

Referenced by main().

#define OPT_VERSION   2

Definition at line 42 of file quartzdump.cc.

Referenced by main().


Function Documentation

static void show_usage (  )  [static]

Definition at line 44 of file quartzdump.cc.

References PROG_NAME.

static string hex_encode ( const string &  input  )  [static]

Definition at line 54 of file quartzdump.cc.

Referenced by Bcursor::del(), Bcursor::find_entry(), FlintCursor::find_entry(), FlintCursor::find_entry_ge(), main(), Bcursor::next(), FlintCursor::next(), Bcursor::prev(), FlintCursor::prev(), Bcursor::read_tag(), and FlintCursor::read_tag().

int main ( int  argc,
char *  argv[] 
)

Definition at line 73 of file quartzdump.cc.

References atoi(), Xapian::Error::get_description(), gnu_getopt_long(), hex_encode(), long_opts, no_argument, OPT_HELP, OPT_VERSION, optarg, optind, PACKAGE_STRING, PROG_DESC, PROG_NAME, required_argument, and show_usage().


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.