diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-27 00:01:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-27 00:01:12 +0200 |
commit | 10717a1a8d48e50463abf2f6b47e2618eaa529e7 (patch) | |
tree | d4750ea20c9b185eab67ef8f9282f4bb2229449f /src/util.h | |
parent | 248e6030e007b6ee7b31ada6e42053cb1ebfc80d (diff) |
unit: serialize active timestamps
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 6a252abbb1..71889f1425 100644 --- a/src/util.h +++ b/src/util.h @@ -366,6 +366,9 @@ DIR *xopendirat(int dirfd, const char *name); int ask_password_tty(const char *message, usec_t until, const char *flag_file, char **_passphrase); +void dual_timestamp_serialize(FILE *f, const char *name, dual_timestamp *t); +void dual_timestamp_deserialize(FILE *f, const char *line, dual_timestamp *t); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |