Mario Kart 64
os_time.h
Go to the documentation of this file.
1 #ifndef _ULTRA64_TIME_H_
2 #define _ULTRA64_TIME_H_
3 
4 #include <PR/ultratypes.h>
5 #include <PR/os_message.h>
6 
7 /* Types */
8 
9 typedef struct OSTimer_str
10 {
11  struct OSTimer_str *next;
12  struct OSTimer_str *prev;
15  OSMesgQueue *mq;
16  OSMesg *msg;
18 
19 typedef u64 OSTime;
20 
21 /* Functions */
22 
23 OSTime osGetTime(void);
24 void osSetTime(OSTime time);
25 u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg);
26 
27 #endif
unsigned long long int u64
Definition: llconv.c:2
void osSetTime(OSTime time)
Definition: osSetTime.c:5
u64 OSTime
Definition: os_time.h:19
u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg)
Definition: osSetTimer.c:6
OSTime osGetTime(void)
Definition: osGetTime.c:6
struct OSTimer_str OSTimer
Definition: os_time.h:10
struct OSTimer_str * next
Definition: os_time.h:11
OSMesgQueue * mq
Definition: os_time.h:15
struct OSTimer_str * prev
Definition: os_time.h:12
u64 remaining
Definition: os_time.h:14
u64 interval
Definition: os_time.h:13
OSMesg * msg
Definition: os_time.h:16
unsigned int u32
Definition: ultratypes.h:16