summaryrefslogtreecommitdiff
path: root/alpine/xoauth2conf.h
blob: 15afadc7bb354137eaf14f2f285f9b7711245e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 */