aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-06-25 16:35:09 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-06-26 13:26:02 -0400
commit2e2f3fa527ccc8d9a6ee02bd3c73d6e9ee35620d (patch)
tree764f235734157b82571277e30407ca5e3c18246c /include
parentabe87056faa6ed02aff3bbf77c1fd78b713a0864 (diff)
downloadstasis-2e2f3fa527ccc8d9a6ee02bd3c73d6e9ee35620d.tar.gz
Add github.c and github.h
* Implements get_github_release_notes()
Diffstat (limited to 'include')
-rw-r--r--include/github.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/github.h b/include/github.h
new file mode 100644
index 0000000..eb24753
--- /dev/null
+++ b/include/github.h
@@ -0,0 +1,8 @@
+#ifndef STASIS_GITHUB_H
+#define STASIS_GITHUB_H
+
+#define STASIS_GITHUB_API_VERSION "2022-11-28"
+
+int get_github_release_notes(const char *api_token, const char *repo, const char *tag, const char *target_commitish, char **output);
+
+#endif //STASIS_GITHUB_H \ No newline at end of file