tag: refresh_in() *must* use the realtime unit

This commit is contained in:
Daniel Eklöf 2018-12-28 14:04:35 +01:00
parent 67bd38f5df
commit 13cc11e200
3 changed files with 9 additions and 9 deletions

4
tag.h
View file

@ -6,7 +6,7 @@
enum tag_realtime_unit {
TAG_REALTIME_NONE,
TAG_REALTIME_SECONDS
TAG_REALTIME_SECS,
};
struct module;
@ -26,7 +26,7 @@ struct tag {
long (*max)(const struct tag *tag);
enum tag_realtime_unit (*realtime)(const struct tag *tag);
bool (*refresh_in)(const struct tag *tag, long milli_seconds);
bool (*refresh_in)(const struct tag *tag, long units);
};
struct tag_set {