summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-13 15:22:20 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-13 15:22:20 -0400
commit4ac6ebfa301c6a6eff1b2c27cd6539c25f3d529a (patch)
tree18f9b5b740eea811a8462b63bd4db6f119455f7d /git.h
parenta1b9d509f076172c5e71ba67f3492bed856cf573 (diff)
Added the `git_repo` struct.
This is a linked list, that will be temporarily be used by `init_git()`.
Diffstat (limited to 'git.h')
-rw-r--r--git.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/git.h b/git.h
index 0c63ee9..768ec9a 100644
--- a/git.h
+++ b/git.h
@@ -1,4 +1,13 @@
#ifndef GIT_H
#define GIT_H
+#include <stdint.h>
+
+typedef struct git_repo git_repo;
+
+struct git_repo {
+ git_repo *next;
+ git_repository *repo;
+};
+
#endif