aboutsummaryrefslogtreecommitdiffstats
path: root/src/instance.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-12-30 01:26:54 -0600
committerLibravatar bigfoot547 <[email protected]>2023-12-30 01:26:54 -0600
commite2f504523c0afa3db05e7e739f55e89266b1624c (patch)
tree39c0f42aa0b59ed9c76643766775f1ddd69a23e2 /src/instance.h
parentdownload (but not parse) version manifest (diff)
add a little version stuff
Diffstat (limited to 'src/instance.h')
-rw-r--r--src/instance.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/instance.h b/src/instance.h
index bcded1c..76d249e 100644
--- a/src/instance.h
+++ b/src/instance.h
@@ -2,6 +2,8 @@
#define L2SU_INSTANCE_H_INCLUDED
#include "uuid/uuid.h"
+#include "digest/digest.h"
+#include <stddef.h>
struct l2_instance {
uuid_t uuid;
@@ -12,6 +14,8 @@ struct l2_instance {
struct l2_instance *prev;
};
+#define L2_DOWNLOAD_NO_SIZE ((size_t)0)
+
enum {
INSTANCE_SUCCESS, /* instance operation succeeded */
INSTANCE_ERRNO, /* instance operation failed (error code in errno) */