2 * ========================================================================
3 * Copyright 2006-2007 University of Washington
4 * Copyright 2013-2022 Eduardo Chappa
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * ========================================================================
15 #ifndef XOAUTH2_CONFIG
16 #define XOAUTH2_CONFIG
18 #include "confscroll.h"
19 #include "../pith/state.h"
21 /* exported prototypes */
22 void alpine_xoauth2_configuration(struct pine
*, int);
23 XOAUTH2_INFO_S
*xoauth_parse_client_info(char *);
24 XOAUTH2_INFO_S
*oauth2_get_client_info(unsigned char *, char *);
25 char *xoauth_config_line(XOAUTH2_INFO_S
*);
26 void write_xoauth_conf_entry(XOAUTH2_INFO_S
*, XOAUTH2_INFO_S
*, CONF_S
**, CONF_S
**, CONF_S
**, struct variable
***, int *, int, int);
28 #endif /* XOAUTH2_CONFIG */