Imported Upstream version 2.6.0p2
[debian/amanda] / perl / Amanda / Tapefile.swg
1 /*
2  * Copyright (c) Zmanda, Inc.  All Rights Reserved.
3  *
4  * This library is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 2.1
6  * as published by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
11  * License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation,
15  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
16  *
17  * Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
18  * Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
19  */
20
21 %module "Amanda::Tapefile"
22 %include "amglue/amglue.swg"
23 %include "exception.i"
24
25 %{
26 #include <glib.h>
27 #include "tapefile.h"
28 %}
29
30 %perlcode %{
31 =head1 NAME
32
33 Amanda::Tapefile - temporary hack
34
35 =head1 HACK?
36
37 Yeah, this is just here to make Amanda::Logfile usable.  This module
38 wil become Amanda::Tapelist in the next release.
39
40 =cut
41 %}
42 /* This is just a hack to get Amanda::Logfile working! */
43
44 int read_tapelist(char *tapefile);