summaryrefslogtreecommitdiff
path: root/OpenSSL/crypto/crl.h
blob: 87f504825d39fc9fbc9fbae85493dfd6f0e8cabe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PyOpenSSL_crypto_CRL_H_
#define PyOpenSSL_crypto_CRL_H_

#include <Python.h>

extern  int       init_crypto_crl   (PyObject *);

extern  PyTypeObject      crypto_CRL_Type;

#define crypto_CRL_Check(v) ((v)->ob_type == &crypto_CRL_Type)

typedef struct {
    PyObject_HEAD
    X509_CRL *crl;
} crypto_CRLObj;

crypto_CRLObj * crypto_CRL_New(X509_CRL *crl);

#endif