]> git.ozlabs.org Git - ccan/blobdiff - tools/manifest.h
tools: use tal instead of talloc.
[ccan] / tools / manifest.h
index ee5ae9dfcd6aaa1651753408147a28173284152a..945574ded878bfb7d782208ee08b8b64e7c93c0e 100644 (file)
@@ -13,7 +13,9 @@ enum compile_type {
 
 struct manifest {
        char *dir;
-       /* The module name, ie. final element of dir name */
+       /* The name of the module, ie. elements of dir name after ccan/. */
+       char *modname;
+       /* The final element of dir name */
        char *basename;
        struct ccan_file *info_file;
 
@@ -38,6 +40,7 @@ struct manifest {
 
        /* From tests/check_depends_exist.c */
        struct list_head deps;
+       struct list_head test_deps;
 
        /* From tests/license_exists.c */
        enum license license;
@@ -80,7 +83,7 @@ struct ccan_file {
        char *simplified;
 };
 
-/* A new ccan_file, with the given name (talloc_steal onto returned value). */
+/* A new ccan_file, with the given name (tal_steal onto returned value). */
 struct ccan_file *new_ccan_file(const void *ctx, const char *dir, char *name);
 
 /* Use this rather than accessing f->contents directly: loads on demand. */