File: revoked.h

package info (click to toggle)
pyopenssl 0.13-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,752 kB
  • sloc: ansic: 7,372; python: 6,688; perl: 3,089; xml: 693; makefile: 191; sh: 54; lisp: 13; sed: 2
file content (18 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PyOpenSSL_crypto_REVOKED_H_
#define PyOpenSSL_crypto_REVOKED_H_

#include <Python.h>

extern  PyTypeObject      crypto_Revoked_Type;

#define crypto_Revoked_Check(v) ((v)->ob_type == &crypto_Revoked_Type)

typedef struct {
    PyObject_HEAD
    X509_REVOKED *revoked;
} crypto_RevokedObj;

extern  int       init_crypto_revoked   (PyObject *);
extern crypto_RevokedObj * crypto_Revoked_New(X509_REVOKED *revoked);

#endif