summaryrefslogtreecommitdiff
path: root/src/crypto/pkcs7.h
blob: bdbb425bdd4ef53b3136e22582e0361440a1ef1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * pkcs7.h
 *
 * Copyright (C) AB Strakt 2002, All rights reserved
 *
 * Export pkcs7 functions and data structure.
 * See the file RATIONALE for a short explanation of why this module was written.
 *
 * @(#) $Id: pkcs7.h,v 1.2 2002/09/04 22:24:59 iko Exp $
 */
#ifndef PyOpenSSL_crypto_PKCS7_H_
#define PyOpenSSL_crypto_PKCS7_H_

#include <Python.h>
#include <openssl/pkcs7.h>

extern  int       init_crypto_pkcs7   (PyObject *);

extern  PyTypeObject      crypto_PKCS7_Type;

#define crypto_PKCS7_Check(v) ((v)->ob_type == &crypto_PKCS7_Type)

typedef struct {
    PyObject_HEAD
    PKCS7                *pkcs7;
    int                  dealloc;
} crypto_PKCS7Obj;


#endif