diff options
author | Aaron Lipinski <kris.lipinski@gmail.com> | 2013-08-11 14:55:57 +1200 |
---|---|---|
committer | Aaron Lipinski <kris.lipinski@gmail.com> | 2013-08-15 12:02:56 +1200 |
commit | 93b34ef9e3b4ad44b9f387b112d168b2db55b8a3 (patch) | |
tree | 1998075fe41eb6ac56697a3d092e56927d66e892 /core/DHT.c | |
parent | e9f15d3879724da62fb2cfb8d8dceb01f1286ff9 (diff) |
move client data struct to header file
Diffstat (limited to 'core/DHT.c')
-rw-r--r-- | core/DHT.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -65,17 +65,6 @@ | |||
65 | 65 | ||
66 | typedef struct { | 66 | typedef struct { |
67 | uint8_t client_id[CLIENT_ID_SIZE]; | 67 | uint8_t client_id[CLIENT_ID_SIZE]; |
68 | IP_Port ip_port; | ||
69 | uint64_t timestamp; | ||
70 | uint64_t last_pinged; | ||
71 | |||
72 | /* Returned by this node. Either our friend or us */ | ||
73 | IP_Port ret_ip_port; | ||
74 | uint64_t ret_timestamp; | ||
75 | } Client_data; | ||
76 | |||
77 | typedef struct { | ||
78 | uint8_t client_id[CLIENT_ID_SIZE]; | ||
79 | Client_data client_list[MAX_FRIEND_CLIENTS]; | 68 | Client_data client_list[MAX_FRIEND_CLIENTS]; |
80 | 69 | ||
81 | /* time at which the last get_nodes request was sent. */ | 70 | /* time at which the last get_nodes request was sent. */ |