comparison util.h @ 5:f455893bf0b0

pasterd: show dates in /
author David Demelier <markand@malikania.fr>
date Wed, 05 Feb 2020 13:15:55 +0100
parents 836a698946f8
children 07b6887d3557
comparison
equal deleted inserted replaced
4:ca5b8abc2d44 5:f455893bf0b0
19 #ifndef PASTER_UTIL_H 19 #ifndef PASTER_UTIL_H
20 #define PASTER_UTIL_H 20 #define PASTER_UTIL_H
21 21
22 #include <stdnoreturn.h> 22 #include <stdnoreturn.h>
23 23
24 struct tm;
25
24 noreturn void 26 noreturn void
25 die(const char *, ...); 27 die(const char *, ...);
26 28
27 char * 29 char *
28 estrdup(const char *); 30 estrdup(const char *);
29 31
30 const char * 32 const char *
31 bprintf(const char *, ...); 33 bprintf(const char *, ...);
32 34
35 const char *
36 bstrftime(const char *, const struct tm *);
37
33 #endif /* !PASTER_UTIL_H */ 38 #endif /* !PASTER_UTIL_H */