summaryrefslogtreecommitdiff
path: root/src/shared/fileio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/fileio.h')
-rw-r--r--src/shared/fileio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/fileio.h b/src/shared/fileio.h
index 0ca6878ea4..59e41502b1 100644
--- a/src/shared/fileio.h
+++ b/src/shared/fileio.h
@@ -35,3 +35,7 @@ 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);
+
+int get_status_field(const char *filename, const char *pattern, char **field);