38ec00473c8a35883ae07964d10fa947439b7a43
[gssweb.git] / json_gssapi / test / command_mocks / MockUnwrap.h
1 /*
2  * Copyright (c) 2014 <copyright holder> <email>
3  *
4  * For license details, see the LICENSE file in the root of this project.
5  *
6  */
7
8 #ifndef MOCKUNWRAP_H
9 #define MOCKUNWRAP_H
10
11 #include "datamodel/GSSBuffer.h"
12 #include <gssapi/gssapi.h>
13
14 class MockUnwrap
15 {
16 public:
17   static OM_uint32     retVal;
18   static OM_uint32     minor_status;
19   static gss_ctx_id_t  context_handle;
20   static GSSBuffer     inputMessageBuffer;
21   static GSSBuffer     outputMessageBuffer;
22   static int           conf_state;
23   static gss_qop_t     qop_state;
24   
25   static void reset();
26
27 };
28
29 #endif // MOCKUNWRAP_H