NAME
Dict.pl - implementation of 'dict' service
SYNOPSIS
dict_svc Dict.pl
DESCRIPTION
Dict.pl implements the procedures in the 'dict' interface (see dict.x). It represents dictionaries as DB_Files tied to hashes.
PROCEDURES
- dictproc_null_1
-
Does nothing.
- $dictres = dictproc_open_1($dict)
-
Opens the specified dictionary (by 'tie'ing a DB_File).
- $dictres = dictproc_close_1($dict)
-
Closes the specified dictionary (by 'unti'ing a DB_File).
- $dictres = dictproc_store_1($storeargs)
-
Stores the ($storeargs->key, $storeargs->value) pair in $storeargs->dict.
- $dictres = dictproc_lookup_1($lookupargs)
-
Looks up $lookupargs->key in $lookupargs->dict and returns its value (or an error).
- $dictres = dictproc_delete_1($deleteargs)
-
Deletes $deleteargs->key from $deleteargs->dict.
SEE ALSO
RPC(3), perlrpcgen(1), Tie::Dict(3)
AUTHOR
Jake Donham <jake@organic.com>
THANKS
Thanks to Organic Online <http://www.organic.com/> for letting me hack at work.