summaryrefslogtreecommitdiffstats
path: root/src/dbutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbutil.h')
-rw-r--r--src/dbutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbutil.h b/src/dbutil.h
index dd4acd2..9d9837c 100644
--- a/src/dbutil.h
+++ b/src/dbutil.h
@@ -27,6 +27,7 @@
int get_meta_by_nrecno_md(struct syrep_db_context *c, const struct syrep_nrecno*nrecno, const struct syrep_md *md, struct syrep_meta *meta);
int get_last_md_by_nrecno(struct syrep_db_context *c, const struct syrep_nrecno *nrecno, struct syrep_md *md);
int get_current_md_by_nrecno(struct syrep_db_context *c, const struct syrep_nrecno *nrecno, struct syrep_md *md);
+int get_current_md_by_name(struct syrep_db_context *c, const struct syrep_name *name, struct syrep_md *md);
int get_current_nrecno_by_md(struct syrep_db_context *c, const struct syrep_md *md, struct syrep_nrecno *nrecno);
uint32_t get_version_timestamp(struct syrep_db_context *c, uint32_t v);