unet-cli: fix formatting of help text
[project/unetd.git] / pex.h
diff --git a/pex.h b/pex.h
index 8ecf93873275a30dc8cb4049c74a2169e2c3bda0..11f783fc398d6846401a430829efbf8aa07b1570 100644 (file)
--- a/pex.h
+++ b/pex.h
@@ -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>
  */
@@ -9,8 +9,15 @@
 
 struct network;
 
+struct network_pex_host {
+       struct list_head list;
+       union network_endpoint endpoint;
+};
+
 struct network_pex {
        struct uloop_fd fd;
+       struct list_head hosts;
+       struct uloop_timeout request_update_timer;
 };
 
 enum pex_event {
@@ -32,4 +39,6 @@ static inline bool network_pex_active(struct network_pex *pex)
        return pex->fd.fd >= 0;
 }
 
+int global_pex_open(void);
+
 #endif