#include <limits.h>
#include <stdarg.h>
#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
#include "sqlite3.h"
#include "lib/jsw/jsw_atree.h"
struct zpm_package *current_package;
};
+struct zpm_stat {
+ struct stat st;
+ int configuration;
+ char hash[65]; /* length + room for a nul byte */
+ char diskhash[65]; /* hash of actual file on disk */
+ char *target; /* malloced link target */
+};
+
struct zpm_dependency {
char minpkg[ZPM_PACKAGE_ID_MAX+1];
char maxpkg[ZPM_PACKAGE_ID_MAX+1];