X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Ftools.h;h=a4c4cfa06b8f3bd79ff3b5e7ed274143b8634c51;hb=020983311c9f58bee8d528f80c7c097c4405975c;hp=d39f01977683ef605798da2a7c6fdb40ed907a9c;hpb=03a596908b779bbb4b7c2f739c5e238f8c5d6390;p=ccan diff --git a/tools/tools.h b/tools/tools.h index d39f0197..a4c4cfa0 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -72,4 +72,7 @@ char *maybe_temp_file(const void *ctx, const char *extension, bool in_pwd, /* Default wait for run_command. Should never time out. */ extern const unsigned int default_timeout_ms; +/* Talloc destructor which unlinks file. */ +int unlink_file_destructor(char *filename); + #endif /* CCAN_TOOLS_H */