Simple icap clientutility to create berkeley db lookup tables
c-icap-mkbdb [ -d debug_level ] [ -i file.txt ] [ -o file.db ] [ -t string|int|ip ] [ -v string|int|ip ] [ --dump ]
c-icap-mkbdb utility can be used to create Berkeley DB databases which can be used as lookup tables by the c-icap server.
The debug level
The file contains the data (required). The line format of this file must be:
key: value1, value2, ....
The database to be created
The type of the key. Select string for string keys, int for integer keys or ip for using IP addresses as keys. The "string" is the default.
The type of the values. The "string" is the default.
Do not update the database just dump it to the screen.
c-icap-mkbdb -o keys -i keys.txt
It builds the keys Berkeley DB database, using string type for keys and values.
c-icap-mkbdb -o keys --dump
Dump the contents of the keys database
Tsantilas Christos