]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/dird_conf.h
Turn off debug
[bacula/bacula] / bacula / src / dird / dird_conf.h
index 1719b1b5277175aabccfc6e952f7445cf6e48523..0e94711f16bdd5074bc2ca1f60b089d7bbfe070c 100644 (file)
@@ -594,3 +594,10 @@ public:
    char wom[nbytes_for_bits(5)];      /* week of month */
    char woy[nbytes_for_bits(54)];     /* week of year */
 };
+
+#define GetPoolResWithName(x) ((POOL *)GetResWithName(R_POOL, (x)))
+#define GetStoreResWithName(x) ((STORE *)GetResWithName(R_STORAGE, (x)))
+#define GetClientResWithName(x) ((CLIENT *)GetResWithName(R_CLIENT, (x)))
+#define GetJobResWithName(x) ((JOB *)GetResWithName(R_JOB, (x)))
+#define GetFileSetResWithName(x) ((FILESET *)GetResWithName(R_FILESET, (x)))
+#define GetCatalogResWithName(x) ((CAT *)GetResWithName(R_CATALOG, (x)))