#include <config.h>
#include <iomanip>
#include <iostream>
#include <string>
#include <stdio.h>
#include "flint_table.h"
#include "flint_cursor.h"
#include "stringutils.h"
#include "utils.h"
#include <xapian.h>
#include "gnu_getopt.h"
Include dependency graph for xapian-inspect.cc:
Go to the source code of this file.
Defines | |
#define | PROG_NAME "xapian-inspect" |
#define | PROG_DESC "Inspect the contents of a flint table for development or debugging" |
#define | OPT_HELP 1 |
#define | OPT_VERSION 2 |
Functions | |
static void | show_usage () |
static void | display_nicely (const string &data) |
static void | show_help () |
int | main (int argc, char **argv) |
Definition in file xapian-inspect.cc.
#define PROG_NAME "xapian-inspect" |
Definition at line 39 of file xapian-inspect.cc.
#define PROG_DESC "Inspect the contents of a flint table for development or debugging" |
Definition at line 40 of file xapian-inspect.cc.
#define OPT_HELP 1 |
Definition at line 42 of file xapian-inspect.cc.
#define OPT_VERSION 2 |
Definition at line 43 of file xapian-inspect.cc.
static void show_usage | ( | ) | [static] |
static void display_nicely | ( | const string & | data | ) | [static] |
static void show_help | ( | ) | [static] |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 88 of file xapian-inspect.cc.
References FlintCursor::after_end(), FlintCursor::current_key, FlintCursor::current_tag, dir_exists(), display_nicely(), endswith(), error(), file_exists(), FlintCursor::find_entry(), FlintTable::get_entry_count(), gnu_getopt_long(), long_opts, FlintCursor::next(), no_argument, FlintTable::open(), OPT_HELP, OPT_VERSION, optind, PACKAGE_STRING, FlintCursor::prev(), PROG_DESC, PROG_NAME, FlintCursor::read_tag(), show_help(), show_usage(), and startswith().