network: add support for configuring extra peers via a separate json file
[project/unetd.git] / auth-data.h
index 7a5e832cb2181fa96afec4b473343e69e0f0b613..ddb73e9b27d9149d73c6c4839249cc926a6bfba4 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2022 Felix Fietkau <nbd@nbd.name>
  */
@@ -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)