#include <stdio.h>
#include <errno.h>
+#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
*/
typedef struct date_time_s {
- int sec, microsec;
-} DATE_TIME;
+ unsigned int low, high;
+} NTTIME;
/*
* Definition of a Key. It has a name, classname, date/time last modified,
char *name; /* Name of the key */
char *class_name;
int type; /* One of REG_ROOT_KEY or REG_SUB_KEY */
- DATE_TIME last_mod; /* Time last modified */
+ NTTIME last_mod; /* Time last modified */
struct reg_key_s *owner;
struct key_list_s *sub_keys;
struct val_list_s *values;
}
}
+ /*
+ * At this point, regf->base != NULL, and we should be able to read the
+ * header
+ */
+
+ ASSERT(regf->base != NULL);
+
+
}
int nt_get_hbin_hdr(REGF *regf, int hbin_offs)