Rick Dean | 536ba02 | 2009-07-24 23:57:27 -0500 | [diff] [blame^] | 1 | #ifndef PyOpenSSL_crypto_CRL_H_ |
2 | #define PyOpenSSL_crypto_CRL_H_ | ||||
3 | |||||
4 | #include <Python.h> | ||||
5 | |||||
6 | extern int init_crypto_crl (PyObject *); | ||||
7 | |||||
8 | extern PyTypeObject crypto_CRL_Type; | ||||
9 | |||||
10 | #define crypto_CRL_Check(v) ((v)->ob_type == &crypto_CRL_Type) | ||||
11 | |||||
12 | typedef struct { | ||||
13 | PyObject_HEAD | ||||
14 | X509_CRL *crl; | ||||
15 | } crypto_CRLObj; | ||||
16 | |||||
17 | crypto_CRLObj * crypto_CRL_New(X509_CRL *crl); | ||||
18 | |||||
19 | #endif |