diff options
Diffstat (limited to 'OpenSSL/ssl/session.h')
-rw-r--r-- | OpenSSL/ssl/session.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSSL/ssl/session.h b/OpenSSL/ssl/session.h new file mode 100644 index 0000000..98cee80 --- /dev/null +++ b/OpenSSL/ssl/session.h @@ -0,0 +1,25 @@ +/* + * session.h + * Copyright (C) Jean-Paul Calderone + * See LICENSE for details. + * + * Defined here is the Python type which represents an SSL session by wrapping + * an OpenSSL SSL_SESSION*. + * + */ + +#ifndef PyOpenSSL_SSL_SESSION_H_ +#define PyOpenSSL_SSL_SESSION_H_ + +#include <Python.h> +#include <openssl/ssl.h> + +typedef struct { + PyObject_HEAD +} ssl_SessionObj; + +extern PyTypeObject ssl_Session_Type; + +extern int init_ssl_session(PyObject *); + +#endif |