detox  1.4.5
About: Detox is a utility designed to clean up filenames, especially those created on other operating systems.
  Fossies Dox: detox-1.4.5.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

table.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  translation_table_row
struct  translation_table


struct translation_tabletable_init (int max_rows)
struct translation_tabletable_resize (struct translation_table *table, int rows)
void table_free (struct translation_table *table)
int table_put (struct translation_table *table, unsigned int key, char *data)
char * table_get (struct translation_table *table, unsigned int key)

Function Documentation

◆ table_free()

void table_free ( struct translation_table table)

◆ table_get()

◆ table_init()

struct translation_table* table_init ( int  max_rows)

Definition at line 26 of file table.c.

References free(), translation_table::length, malloc(), and translation_table::rows.

Referenced by parse_table(), and table_resize().

◆ table_put()

int table_put ( struct translation_table table,
unsigned int  key,
char *  data 

◆ table_resize()

struct translation_table* table_resize ( struct translation_table table,
int  rows