1 /*
2  * Copyright (C) 2015 Nikos Mavrogiannopoulos
3  *
4  * Author: Nikos Mavrogiannopoulos
5  *
6  * This file is part of ocserv.
7  *
8  * ocserv is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1 of
11  * the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program.  If not, see <http://www.gnu.org/licenses/>
20  */
21 #ifndef SEC_MOD_RESUME_H
22 # define SEC_MOD_RESUME_H
23 
24 #include <sec-mod.h>
25 
26 int handle_resume_delete_req(sec_mod_st* sec,
27   			   const SessionResumeFetchMsg * req);
28 
29 int handle_resume_fetch_req(sec_mod_st* sec,
30   			   const SessionResumeFetchMsg * req,
31   			   SessionResumeReplyMsg* rep);
32 
33 int handle_resume_store_req(sec_mod_st* sec,
34   			   const SessionResumeStoreReqMsg *);
35 
36 void expire_tls_sessions(sec_mod_st *sec);
37 
38 #endif
39