Debian Codegraph @

runtime/lmcry_gcry.h

raw
1 /* An implementation of the cryprov interface for libgcrypt.
2 *
3 * Copyright 2013 Adiscon GmbH.
4 *
5 * This file is part of the rsyslog runtime library.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 * -or-
13 * see COPYING.ASL20 in the source distribution
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21 #ifndef INCLUDED_LMCRY_GCRY_H
22 #define INCLUDED_LMCRY_GCRY_H
23 #include "cryprov.h"
24
25 /* interface is defined in cryprov.h, we just implement it! */
26 #define lmcry_gcryCURR_IF_VERSION cryprovCURR_IF_VERSION
27 typedef cryprov_if_t lmcry_gcry_if_t;
28
29 /* the lmcry_gcry object */
30 struct lmcry_gcry_s {
31 BEGINobjInstance
32 ; /* Data to implement generic object - MUST be the first data element! */
33 gcryctx ctx;
34 };
35 typedef struct lmcry_gcry_s lmcry_gcry_t;
36
37 /* prototypes */
38 PROTOTYPEObjFull(lmcry_gcry);
39
40 #endif /* #ifndef INCLUDED_LMCRY_GCRY_H */