X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Ffileio.h;h=a0aae28bae75685bfe9ff01332af72cbb3b0fd4d;hp=0ca6878ea48e487bf6c7b340cb7c8e899602ae74;hb=68fee104e630eb19f04b8196a83c14c2c9c469e7;hpb=cba38758b4d49c6fe7c2f0eea255e11ee9df23eb diff --git a/src/shared/fileio.h b/src/shared/fileio.h index 0ca6878ea..a0aae28ba 100644 --- a/src/shared/fileio.h +++ b/src/shared/fileio.h @@ -35,3 +35,5 @@ int read_full_file(const char *fn, char **contents, size_t *size); int parse_env_file(const char *fname, const char *separator, ...) _sentinel_; int load_env_file(const char *fname, const char *separator, char ***l); int write_env_file(const char *fname, char **l); + +int executable_is_script(const char *path, char **interpreter);