* New alpha version 2.24.1
[alpine.git] / imap / src / c-client / oauth2_aux.h
blob882ddb42689a23fc168e6a61acdef827d3fa53b7
1 /*
2 * ========================================================================
3 * Copyright 2013-2021 Eduardo Chappa
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * ========================================================================
13 #ifndef C_CLIENT_OAUTH2_AUX_INCLUDED
14 #define C_CLIENT_OAUTH2_AUX_INCLUDED
16 #define OA2_CODE_WAIT 1
17 #define OA2_CODE_FAIL -1
18 #define OA2_CODE_SUCCESS 0
20 void mm_login_oauth2_c_client_method (NETMBX *, char *, char *, OAUTH2_S *, unsigned long, int *);
21 void oauth2deviceinfo_get_accesscode(void *, void *);
23 #endif /* C_CLIENT_OAUTH2_AUX_INCLUDED */