blob: 98cee80d12b64ab6149ec14bb02b8f1c62c8c6ee [file] [log] [blame]
Jean-Paul Calderonee0fcf512012-02-13 09:10:15 -05001/*
2 * session.h
3 * Copyright (C) Jean-Paul Calderone
4 * See LICENSE for details.
5 *
6 * Defined here is the Python type which represents an SSL session by wrapping
7 * an OpenSSL SSL_SESSION*.
8 *
9 */
10
11#ifndef PyOpenSSL_SSL_SESSION_H_
12#define PyOpenSSL_SSL_SESSION_H_
13
14#include <Python.h>
15#include <openssl/ssl.h>
16
17typedef struct {
18 PyObject_HEAD
19} ssl_SessionObj;
20
21extern PyTypeObject ssl_Session_Type;
22
23extern int init_ssl_session(PyObject *);
24
25#endif