]> git.ozlabs.org Git - ccan/blobdiff - ccan/list/test/helper.h
list.h: opaque list iteration functionality
[ccan] / ccan / list / test / helper.h
diff --git a/ccan/list/test/helper.h b/ccan/list/test/helper.h
new file mode 100644 (file)
index 0000000..4b64a7d
--- /dev/null
@@ -0,0 +1,9 @@
+/* These are in a separate C file so we can test undefined structures. */
+struct opaque;
+typedef struct opaque opaque_t;
+
+opaque_t *create_opaque_blob(void);
+bool if_blobs_know_the_secret(opaque_t *blob);
+void destroy_opaque_blob(opaque_t *blob);
+
+