summaryrefslogtreecommitdiff
path: root/alpine/xoauth2conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'alpine/xoauth2conf.h')
-rw-r--r--alpine/xoauth2conf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/alpine/xoauth2conf.h b/alpine/xoauth2conf.h
new file mode 100644
index 0000000..15afadc
--- /dev/null
+++ b/alpine/xoauth2conf.h
@@ -0,0 +1,27 @@
+/*
+ * ========================================================================
+ * Copyright 2006-2007 University of Washington
+ * Copyright 2013-2020 Eduardo Chappa
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * ========================================================================
+ */
+
+#ifndef XOAUTH2_CONFIG
+#define XOAUTH2_CONFIG
+
+#include "confscroll.h"
+#include "../pith/state.h"
+
+/* exported protoypes */
+void alpine_xoauth2_configuration(struct pine *, int);
+void xoauth_parse_client_info(char *, char **, char **, char **);
+void oauth2_get_client_info(char *, char **, char **);
+char *xoauth_config_line(char *, char *, char *);
+
+#endif /* XOAUTH2_CONFIG */