sas_request.h
Go to the documentation of this file.
1 /**
2  * @file sas_request.h
3  * @brief library for fetching a Serval SAS key over the MDP
4  * overlay network
5  *
6  * @author Dan Staples (dismantl), danstaples@opentechinstitute.org
7  *
8  * @internal
9  * Created 12/18/2013
10  * Compiler gcc/g++
11  * Company The Open Technology Institute
12  * Copyright Copyright (c) 2013, Dan Staples
13  *
14  * This file is part of Commotion, Copyright (c) 2013, Josh King
15  *
16  * Commotion is free software: you can redistribute it and/or modify
17  * it under the terms of the GNU General Public License as published
18  * by the Free Software Foundation, either version 3 of the License,
19  * or (at your option) any later version.
20  *
21  * Commotion is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24  * GNU General Public License for more details.
25  *
26  * You should have received a copy of the GNU General Public License
27  * along with Commotion. If not, see <http://www.gnu.org/licenses/>.
28  *
29  * =====================================================================================
30  */
31 
32 #include <serval.h>
33 
34 #ifndef __CO_SERVAL_SAS_REQUEST_H
35 #define __CO_SERVAL_SAS_REQUEST_H
36 
37 #define SID_SIZE 32
38 #define SAS_SIZE 32
39 
40 int keyring_send_sas_request_client(const char *sid_str,
41  const size_t sid_len,
42  char *sas_buf,
43  const size_t sas_buf_len);
44 
45 #endif