Get the filename that should hold information for this combination of $user and $element. The variable are escaped in order to prevent problem with various char, like "/".
Set the directory that will be used a base of the spool directory. It will be created if it doesn't exist.
Check that plugin was correctly initialized.
Load the element $element for $user from memory.
Store $content for $element and $user in memory.
DJabberd::Plugin::PrivateStorage::SpoolDirectory - implement private storage, stored in a spool directory
<Plugin DJabberd::Plugin::PrivateStorage::SpoolDirectory> Directory "/var/spool/djabberd/private_storage/" </Plugin>
This plugin is derived from DJabberd::Plugin::PrivateStorage. It implement a spool directory storage, similar to the one used by jabberd, or postfix ( for the mail ). The filename is derived from username and the namespace used. Directory will be autocreated if it doesn't exist.
This module is Copyright (c) 2006 Michael Scherer All rights reserved.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
Michael Scherer <email@example.com>