summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 2fa32d2..ece19d9 100644
--- a/src/config.h
+++ b/src/config.h
@@ -17,8 +17,11 @@ struct config {
char *contents;
size_t contents_len;
- const char *endpoint;
const char *token;
+ /// Whether the token's memory is owned or borrowed from contents
+ int token_owned;
+
+ const char *endpoint;
const char *user_agent;
/// The owner of the repositories