From d9b456d738e5013d48f41f5e6315ef7c22d6acf0 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Sep 2025 19:37:28 +0100 Subject: Initial commit --- src/modules/time.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/modules/time.h (limited to 'src/modules/time.h') diff --git a/src/modules/time.h b/src/modules/time.h new file mode 100644 index 0000000..2dec7d5 --- /dev/null +++ b/src/modules/time.h @@ -0,0 +1,15 @@ +#ifndef _DWXINFO_MODULES_TIME_H_ +#define _DWXINFO_MODULES_TIME_H_ + +#define TIME_VALUE_SIZE 32 + +struct time { + char value[TIME_VALUE_SIZE]; +}; + +struct time * time_new(); +void time_free(struct time *); + +void time_update(struct time *); + +#endif -- cgit v1.2.3