summaryrefslogtreecommitdiff
path: root/src/github/client.h
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2025-06-12 01:43:36 -0700
committerGravatar Anshul Gupta <ansg191@anshulg.com> 2025-06-12 01:46:22 -0700
commite3b96711f9f7bb2c8ec6c3c51b7525d0f5fd9413 (patch)
tree1b2ba847333bae38424571bab964ad2ffab0fa87 /src/github/client.h
parent179679633a9fc3317585167f86c87a7fe8394945 (diff)
downloadgithub-mirror-e3b96711f9f7bb2c8ec6c3c51b7525d0f5fd9413.tar.gz
github-mirror-e3b96711f9f7bb2c8ec6c3c51b7525d0f5fd9413.tar.zst
github-mirror-e3b96711f9f7bb2c8ec6c3c51b7525d0f5fd9413.zip
Implement sourcehut remote
Diffstat (limited to 'src/github/client.h')
-rw-r--r--src/github/client.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/github/client.h b/src/github/client.h
new file mode 100644
index 0000000..723c24c
--- /dev/null
+++ b/src/github/client.h
@@ -0,0 +1,17 @@
+//
+// Created by Anshul Gupta on 4/4/25.
+//
+
+#ifndef GITHUB_CLIENT_H
+#define GITHUB_CLIENT_H
+
+#include "../client.h"
+
+#include "types.h"
+
+char *github_identity(const gql_client *client);
+
+int github_list_user_repos(const gql_client *client, const char *username,
+ const char *after, struct gh_list_repos_res *res);
+
+#endif // GITHUB_CLIENT_H