blob: 8f6a95af3c05b99dfd777ea2cb14a52efa6c792d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef foodbutilhfoo
#define foodbutilhfoo
#include "dbstruct.h"
#include "context.h"
int get_meta_by_name_md(struct syrep_db_context *c, const struct syrep_name*name, const struct syrep_md *md, struct syrep_meta *meta);
int get_last_md_by_name(struct syrep_db_context *c, const struct syrep_name *name, 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_name_by_md(struct syrep_db_context *c, const struct syrep_md *md, struct syrep_name *name);
uint32_t get_version_timestamp(struct syrep_db_context *c, uint32_t v);
#endif
|