X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FAmanda%2FUtil.swg;h=e325a9e0a918bad8ac0e5ed4bb549f55dc52d3f4;hb=refs%2Ftags%2Fupstream%2F3.3.1;hp=e4a3e6b655835fd6c893c5df728bb8078b21b17b;hpb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;p=debian%2Famanda diff --git a/perl/Amanda/Util.swg b/perl/Amanda/Util.swg index e4a3e6b..e325a9e 100644 --- a/perl/Amanda/Util.swg +++ b/perl/Amanda/Util.swg @@ -452,7 +452,10 @@ typedef struct file_lock { } int lock(); + int lock_wr(); + int lock_rd(); int unlock(); + int locked(); %typemap(in) (const char *data, size_t len) { $1 = SvPV($input, $2); @@ -630,6 +633,16 @@ sub unmarshal_tapespec { %} +amglue_export_ok( + match_host match_disk match_datestamp match_level +); + +gboolean match_host(char *pat, char *value); +gboolean match_disk(char *pat, char *value); +gboolean match_datestamp(char *pat, char *value); +gboolean match_level(char *pat, char *value); + + /* ------------------------------------------------------------------------- * Functions below this line are only meant to be called within this module; * do not call them externally. */