summaryrefslogtreecommitdiff
path: root/perl_dmod/Cstore/lib
diff options
context:
space:
mode:
Diffstat (limited to 'perl_dmod/Cstore/lib')
-rw-r--r--perl_dmod/Cstore/lib/Cstore.pm96
1 files changed, 96 insertions, 0 deletions
diff --git a/perl_dmod/Cstore/lib/Cstore.pm b/perl_dmod/Cstore/lib/Cstore.pm
new file mode 100644
index 0000000..7cf2169
--- /dev/null
+++ b/perl_dmod/Cstore/lib/Cstore.pm
@@ -0,0 +1,96 @@
+# Copyright (C) 2010 Vyatta, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+package Cstore;
+
+use 5.010000;
+use strict;
+use warnings;
+
+require Exporter;
+use AutoLoader qw(AUTOLOAD);
+
+our @ISA = qw(Exporter);
+
+# Items to export into callers namespace by default. Note: do not export
+# names by default without a very good reason. Use EXPORT_OK instead.
+# Do not simply export all your public functions/methods/constants.
+
+# This allows declaration use Cstore ':all';
+# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
+# will save memory.
+our %EXPORT_TAGS = ( 'all' => [ qw(
+
+) ] );
+
+our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
+
+our @EXPORT = qw(
+
+);
+
+our $VERSION = '0.01';
+
+require XSLoader;
+XSLoader::load('Cstore', $VERSION);
+
+# Preloaded methods go here.
+
+# Autoload methods go after =cut, and are processed by the autosplit program.
+
+1;
+__END__
+=head1 NAME
+
+Cstore - Perl binding for the Vyatta Cstore library
+
+=head1 SYNOPSIS
+
+ use Cstore;
+ my $cstore = new Cstore;
+
+=head1 DESCRIPTION
+
+This module provides the Perl binding for the Vyatta Cstore library.
+
+=head2 EXPORT
+
+None by default.
+
+=head1 SEE ALSO
+
+For more information on the Cstore library, see the documentation and
+source code for the main library.
+
+=head1 AUTHOR
+
+Vyatta, Inc. E<lt>eng@vyatta.comE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2010 Vyatta, Inc.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License version 2 as
+published by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+=cut