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