Debian Codegraph @

runtime/lmcry_ossl.h

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