summaryrefslogtreecommitdiff
path: root/h/zephyr/zephyr.h
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2007-07-20 05:07:19 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2007-07-20 05:07:19 +0000
commit15cf157d47aafe49fd59b7acc23fe172f8a23566 (patch)
tree747829bb544497cad68906bb21b2fd9fbb2cc1f3 /h/zephyr/zephyr.h
parent82ea504def6eb144c2b13b315890b297e29345c5 (diff)
debian patch applied and reconciled, version unfinalized
Diffstat (limited to 'h/zephyr/zephyr.h')
-rw-r--r--h/zephyr/zephyr.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h
index fc9cd05..713e261 100644
--- a/h/zephyr/zephyr.h
+++ b/h/zephyr/zephyr.h
@@ -62,14 +62,19 @@ typedef enum {
} ZNotice_Kind_t;
extern ZCONST char *ZNoticeKinds[9];
+struct _ZTimeval {
+ int tv_sec;
+ int tv_usec;
+};
+
/* Unique ID format */
typedef struct _ZUnique_Id_t {
struct in_addr zuid_addr;
- struct timeval tv;
+ struct _ZTimeval tv;
} ZUnique_Id_t;
/* Checksum */
-typedef unsigned long ZChecksum_t;
+typedef unsigned int ZChecksum_t;
/* Notice definition */
typedef struct _ZNotice_t {
@@ -78,7 +83,7 @@ typedef struct _ZNotice_t {
ZNotice_Kind_t z_kind;
ZUnique_Id_t z_uid;
#define z_sender_addr z_uid.zuid_addr
- struct timeval z_time;
+ struct _ZTimeval z_time;
unsigned short z_port;
int z_auth;
int z_checked_auth;