summaryrefslogtreecommitdiff
path: root/maje.h
diff options
context:
space:
mode:
Diffstat (limited to 'maje.h')
-rw-r--r--maje.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/maje.h b/maje.h
index 8262967..e51fe6b 100644
--- a/maje.h
+++ b/maje.h
@@ -1,3 +1,15 @@
-char **find_source_files(const char *path);
-char *find_main(char **sources);
-void make_makefile(const char *makefile, char **sources, const char *target);
+#ifndef MAJE_H
+#define MAJE_H
+
+#include <sys/stat.h>
+
+struct majefile {
+ struct stat st;
+ char path[];
+};
+
+struct majefile **find_source_files(const char *path);
+char *find_main(struct majefile **sources);
+void make_makefile(const char *makefile, struct majefile **sources, const char *target);
+
+#endif