]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/bc_types.h
tweak comments
[bacula/bacula] / bacula / src / bc_types.h
index 76ecd86d58b75bce679fb49543de15afce0db8c0..bd08067dd67121186cd968f66c37b40db82ecc48 100644 (file)
@@ -57,7 +57,7 @@
  * In principle, the only field that really should need to be
  *  64 bits is the FileId_t
  */
-typedef uint32_t FileId_t;
+typedef uint64_t FileId_t;
 typedef uint32_t DBId_t;              /* general DB id type */
 typedef uint32_t JobId_t;
 
@@ -247,5 +247,11 @@ enum {
    CF_CREATED                         /* file created, no data to extract */
 };
 
+#ifndef MAX
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
+#ifndef MIN
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#endif
 
 #endif /* __bc_types_INCLUDED */