add protocol for exchanging signed network data
[project/unetd.git] / auth-data.h
index 111db987e30c3a6a536ca1014ad0c005227ad7d0..ddb73e9b27d9149d73c6c4839249cc926a6bfba4 100644 (file)
@@ -30,7 +30,7 @@ struct unet_auth_data {
 } __packed;
 
 int unet_auth_data_validate(const uint8_t *key, const void *buf, size_t len,
-                           const char **json_data);
+                           uint64_t *timestamp, const char **json_data);
 
 static inline const struct unet_auth_data *
 net_data_auth_data_hdr(const void *net_data)