Rick Dean | 536ba02 | 2009-07-24 23:57:27 -0500 | [diff] [blame] | 1 | #ifndef PyOpenSSL_crypto_REVOKED_H_ |
2 | #define PyOpenSSL_crypto_REVOKED_H_ | ||||
3 | |||||
4 | #include <Python.h> | ||||
5 | |||||
6 | extern PyTypeObject crypto_Revoked_Type; | ||||
7 | |||||
8 | #define crypto_Revoked_Check(v) ((v)->ob_type == &crypto_Revoked_Type) | ||||
9 | |||||
10 | typedef struct { | ||||
11 | PyObject_HEAD | ||||
12 | X509_REVOKED *revoked; | ||||
13 | } crypto_RevokedObj; | ||||
14 | |||||
15 | extern int init_crypto_revoked (PyObject *); | ||||
16 | extern crypto_RevokedObj * crypto_Revoked_New(X509_REVOKED *revoked); | ||||
17 | |||||
18 | #endif |