Bucket Version 1.0

Disclaimer

I make no guarantees about this code. You use it at you own risk. I use it in a dependable system but then again I know how it works.

Instructions

running the program without parameters will display a list of command line options.

arguments Description
d Deletes the entire hash table. Must be creator or root to do this.
p <descriptor> <data> puts the data into the hash table with the index as descriptor.
g <descriptor> get the data out of the hash table which has the index descriptor.
i <descriptor> puts data into hash table from stdin with index as descriptor.
s Prints the current state of the hash table.

Notes

The current implementation has 6 entries each of 138KBytes in size entries are removed from the table according to a LRU (Least Recently Used) algorithm. Future implementations may allow for configuration files.