X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=database%2Fdatabase.h;h=412d6c740cbf2f4339f4ecb7d1c8155d752c7d12;hb=a3b400b3d5eff0027efe12936b08d80c93e0273a;hp=2f71beebe2e4f9964ae6dba3ca2e5c43e0db038d;hpb=b6235374b91ba7acf62c06c72de2f1291f46ac4c;p=blerg.git diff --git a/database/database.h b/database/database.h index 2f71bee..412d6c7 100644 --- a/database/database.h +++ b/database/database.h @@ -19,6 +19,7 @@ struct record { struct meta { uint64_t sequence; + uint64_t subscription_mark; }; struct blerg { @@ -41,5 +42,7 @@ int blerg_store(struct blerg *, const char *, int); int blerg_fetch(struct blerg *, int, char **, int *); uint64_t blerg_get_record_count(struct blerg *); time_t blerg_get_timestamp(struct blerg *blerg, int record); +int blerg_set_subscription_mark(struct blerg *blerg); +uint64_t blerg_get_subscription_mark(struct blerg *blerg); #endif //_DATABASE_H