25 lines
327 B
C
25 lines
327 B
C
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
* Copyright (c) Camden Dixie O'Brien
|
|
*/
|
|
|
|
#ifndef TIME_MANAGER_H
|
|
#define TIME_MANAGER_H
|
|
|
|
typedef struct {
|
|
unsigned hour;
|
|
unsigned minute;
|
|
} Time;
|
|
|
|
/**
|
|
* Initialize the time module.
|
|
*/
|
|
void time_manager_init(void);
|
|
|
|
/**
|
|
* Get the current time.
|
|
*/
|
|
Time get_time(void);
|
|
|
|
#endif
|