.TH c-icap-mkbdb 8 "c_icap 0.4.4" .SH NAME c-icap-mkbdb - simple ICAP clientutility to create Berkeley DB lookup tables .SH SYNOPSIS .B c-icap-mkbdb [ .B \-d debug_level ] [ .B \-i file.txt ] [ .B \-o file.db ] [ .B \-t string|int|ip ] [ .B \-v string|int|ip ] [ .B \-\-dump ] .SH DESCRIPTION .B c-icap-mkbdb utility can be used to create Berkeley DB databases which can be used as lookup tables by the c-icap server. .SH OPTIONS .IP "-d debug_level" The debug level .IP "-i file.txt" The file contains the data (required). The line format of this file must be: .br .I "key: value1, value2, ...." .IP "-o file.db" The database to be created .IP "-t string|int|ip" The type of the key. Select .B "string" for string keys, .B "int" for integer keys or .B "ip" for using IP addresses as keys. The "string" is the default. .IP "-v string|int|ip" The type of the values. The "string" is the default. .IP "--dump" Do not update the database just dump it to the screen. .SH EXAMPLES .TP c-icap-mkbdb \-o keys \-i keys.txt It builds the .B keys Berkeley DB database, using string type for keys and values. .TP c-icap-mkbdb \-o keys \-\-dump Dump the contents of the keys database .SH SEE ALSO .BR c-icap "(8)" .BR c-icap-client "(8)" .BR c-icap-stretch "(8)" .BR c-icap-config "(8)" .BR c-icap-libicapapi-config "(8)" .SH AUTHOR Tsantilas Christos