/* * x509ext.h * * Copyright (C) Awanim 2002, All rights reserved * * Export X.509 extension functions and data structures. * See the file RATIONALE for a short explanation of why this module was written. * * @(#) $Id: x509ext.h,v 1.2 2004/09/23 14:25:28 murata Exp $ */ #ifndef PyOpenSSL_crypto_X509EXTENSION_H_ #define PyOpenSSL_crypto_X509EXTENSION_H_ #include <Python.h> #include <openssl/ssl.h> #include <openssl/x509v3.h> extern int init_crypto_x509extension (PyObject *); extern PyTypeObject crypto_X509Extension_Type; #define crypto_X509Extension_Check(v) ((v)->ob_type == \ &crypto_X509Extension_Type) typedef struct { PyObject_HEAD X509_EXTENSION *x509_extension; int dealloc; } crypto_X509ExtensionObj; #endif