diff options
Diffstat (limited to 'lib/status.h')
-rw-r--r-- | lib/status.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/status.h b/lib/status.h index d947123..3988aad 100644 --- a/lib/status.h +++ b/lib/status.h @@ -30,14 +30,15 @@ /** * Internal data class for the server status info. */ -class Status { -public: - unsigned long long int diskspace; - unsigned long long int diskspace_max; - unsigned short load; - unsigned short load_max; -}; - +typedef struct { + unsigned char diskspace; + unsigned char diskspace_max; + unsigned char load; + unsigned char load_max; +} status_t; +typedef struct { + char magic[4]; +} status_request_t; #endif/*__MIAV_STATUS_H__*/ |