summaryrefslogtreecommitdiff
path: root/src/github.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.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.h')
-rw-r--r--src/github.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/github.h b/src/github.h
deleted file mode 100644
index 4979fde..0000000
--- a/src/github.h
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// Created by Anshul Gupta on 4/4/25.
-//
-
-#ifndef GITHUB_H
-#define GITHUB_H
-
-#include "github_types.h"
-
-typedef void github_client;
-
-struct github_ctx {
- const char *endpoint;
- const char *token;
- const char *user_agent;
-};
-
-github_client *github_client_new(struct github_ctx ctx);
-
-github_client *github_client_dup(github_client *client);
-
-void github_client_free(github_client *client);
-
-char *github_client_identity(const github_client *client);
-
-int github_client_list_user_repos(const github_client *client,
- const char *username, const char *after,
- struct list_repos_res *res);
-
-#endif // GITHUB_H