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