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;
/* From tests/check_depends_exist.c */
struct list_head deps;
+ struct list_head test_deps;
/* From tests/license_exists.c */
enum license license;
/* Use this rather than accessing f->lines directly: loads on demand. */
char **get_ccan_file_lines(struct ccan_file *f);
-/* Where is the ccan dir? Available after first manifest. */
-extern const char *ccan_dir;
-
#endif /* CCAN_TOOLS_MANIFEST_H */