blob: bdbb425bdd4ef53b3136e22582e0361440a1ef1e [file] [log] [blame]
Jean-Paul Calderone897bc252008-02-18 20:50:23 -05001/*
2 * pkcs7.h
3 *
4 * Copyright (C) AB Strakt 2002, All rights reserved
5 *
6 * Export pkcs7 functions and data structure.
7 * See the file RATIONALE for a short explanation of why this module was written.
8 *
9 * @(#) $Id: pkcs7.h,v 1.2 2002/09/04 22:24:59 iko Exp $
10 */
11#ifndef PyOpenSSL_crypto_PKCS7_H_
12#define PyOpenSSL_crypto_PKCS7_H_
13
14#include <Python.h>
15#include <openssl/pkcs7.h>
16
17extern int init_crypto_pkcs7 (PyObject *);
18
19extern PyTypeObject crypto_PKCS7_Type;
20
21#define crypto_PKCS7_Check(v) ((v)->ob_type == &crypto_PKCS7_Type)
22
23typedef struct {
24 PyObject_HEAD
25 PKCS7 *pkcs7;
26 int dealloc;
27} crypto_PKCS7Obj;
28
29
30#endif