]> git.ozlabs.org Git - petitboot/blobdiff - discover/network.h
discover/device-handler: Ensure we free unresolved boot options on remove
[petitboot] / discover / network.h
index c90af40eb170b8ae0fbe03c363f7c98613fb4e49..912174f4392badc0e03bd44ffdc65a9571ad97ea 100644 (file)
@@ -2,9 +2,11 @@
 #define NETWORK_H
 
 struct network;
+struct device_handler;
 struct waitset;
 
-struct network *network_init(void *ctx, struct waitset *waitset, bool dry_run);
+struct network *network_init(struct device_handler *handler,
+               struct waitset *waitset, bool dry_run);
 int network_shutdown(struct network *network);
 
 #endif /* NETWORK_H */