]> git.ozlabs.org Git - petitboot/blobdiff - discover/network.h
discover: Add network handling
[petitboot] / discover / network.h
diff --git a/discover/network.h b/discover/network.h
new file mode 100644 (file)
index 0000000..c90af40
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef NETWORK_H
+#define NETWORK_H
+
+struct network;
+struct waitset;
+
+struct network *network_init(void *ctx, struct waitset *waitset, bool dry_run);
+int network_shutdown(struct network *network);
+
+#endif /* NETWORK_H */
+