Definition in file listdic.c.
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "dic_internals.h"
#include "dic.h"
Go to the source code of this file.
Functions | |
static void | print_dic_rec (FILE *out, Dictionary dic, char *buf, char *s, Dawg_edge i) |
void | dic_load (Dictionary *dic, char *filename) |
void | print_dic_list (char *filename, char *out) |
char | b2h (int i) |
char * | hexb (unsigned char h) |
char * | hexl (unsigned int h) |
char * | offset (void *base, void *off) |
void | print_header (char *filename) |
void | print_node_hex (int i, Dictionary dic) |
void | print_dic_hex (char *filename) |
void | usage (char *name) |
int | main (int argc, char *argv[]) |
|
|
|
Definition at line 54 of file listdic.c. References Dic_load(). Referenced by print_dic_hex(), and print_dic_list(). |
|
Definition at line 103 of file listdic.c. References b2h(). Referenced by offset(), and print_header(). |
|
Definition at line 113 of file listdic.c. References b2h(). Referenced by print_header(), and print_node_hex(). |
|
Definition at line 199 of file listdic.c. References usage(). |
|
Definition at line 128 of file listdic.c. References hexb(). Referenced by print_header(), and print_node_hex(). |
|
Definition at line 174 of file listdic.c. References Dic_destroy(), dic_load(), _Dictionary::nedges, and print_node_hex(). |
|
Definition at line 72 of file listdic.c. References _Dictionary::dawg, Dic_destroy(), dic_load(), print_dic_rec(), and _Dictionary::root. |
|
Definition at line 35 of file listdic.c. References _Dawg_edge::chr, _Dictionary::dawg, _Dawg_edge::ptr, and _Dawg_edge::term. Referenced by print_dic_list(). |
|
Definition at line 137 of file listdic.c. References _Dict_header::edgessaved, _Dict_header::edgesused, hexb(), hexl(), _Dict_header::ident, _Dict_header::nodessaved, _Dict_header::nodesused, _Dict_header::nwords, offset(), _Dict_header::root, _Dict_header::unused_1, and _Dict_header::unused_2. |
|
Definition at line 163 of file listdic.c. References _Dawg_edge::chr, _Dictionary::dawg, _Dawg_edge::fill, hexl(), _Dawg_edge::last, offset(), _Dawg_edge::ptr, and _Dawg_edge::term. Referenced by print_dic_hex(). |
|
Definition at line 188 of file listdic.c. Referenced by main(). |