Imported Upstream version 3.3.1
[debian/amanda] / perl / Amanda / Util.swg
index e4a3e6b655835fd6c893c5df728bb8078b21b17b..e325a9e0a918bad8ac0e5ed4bb549f55dc52d3f4 100644 (file)
@@ -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. */