#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 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 |
#define OPT_VERSION 2 |
static void show_usage | ( | ) | [static] |
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().