diff options
| author | Sam Light <sam@lightscale.co.uk> | 2025-09-10 19:37:28 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2025-09-10 19:37:28 +0100 |
| commit | d9b456d738e5013d48f41f5e6315ef7c22d6acf0 (patch) | |
| tree | 2e3722f5697cbf883c4b16edc87726b9e510bce1 /src/modules/time.h | |
Initial commit
Diffstat (limited to 'src/modules/time.h')
| -rw-r--r-- | src/modules/time.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
