summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 2423503..bebae02 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -58,6 +58,7 @@ struct og_image {
uint64_t center_id;
uint64_t datasize;
uint64_t group_id;
+ uint64_t repo_id;
uint64_t type;
uint64_t id;
struct stat image_stats;
@@ -110,4 +111,7 @@ int og_dbi_add_image(struct og_dbi *dbi, const struct og_image *image);
int og_dbi_schema_update(void);
+int og_dbi_get_repository_ip(const struct og_dbi *dbi, const uint64_t image_id,
+ char *repository_ip);
+
#endif