18 lines
440 B
C
18 lines
440 B
C
#ifndef RMM_CLOCK_STATUS_H
|
|
#define RMM_CLOCK_STATUS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
/* Numeric Windows status only. No remote strings or pointers cross the ABI. */
|
|
typedef struct {
|
|
uint32_t leap, stratum, state, flags, last_result, size;
|
|
uint64_t last_sync, sync_age;
|
|
int64_t root_delay;
|
|
uint64_t root_dispersion;
|
|
int64_t phase;
|
|
} RmmClockStatus;
|
|
|
|
_Static_assert(sizeof(RmmClockStatus) == 64, "Rust numeric clock ABI");
|
|
|
|
#endif
|