X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fmanifest.h;h=d11dbec8865d66a77f97d6374316126bd4d5bf7c;hp=86e1f20566db89c8540f84ea2d288d55995699c1;hb=adc90816df194167a588a943ae503a37fec3fb6a;hpb=5f551788224a3cf0988ae490a807b20292822f20 diff --git a/tools/manifest.h b/tools/manifest.h index 86e1f205..d11dbec8 100644 --- a/tools/manifest.h +++ b/tools/manifest.h @@ -80,10 +80,14 @@ struct ccan_file { /* Simplified stream (lowercase letters and single spaces) */ char *simplified; + + /* Condition for idempotent wrapper (filled by headers_idempotent) */ + struct pp_conditions *idempotent_cond; }; -/* 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); +/* A new ccan_file, with the given dir and name (either can be take()). */ +struct ccan_file *new_ccan_file(const void *ctx, + const char *dir, const char *name); /* Use this rather than accessing f->contents directly: loads on demand. */ const char *get_ccan_file_contents(struct ccan_file *f);