File: ext_dce.pxd

package info (click to toggle)
python-gssapi 1.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 876 kB
  • sloc: python: 3,707; sh: 198; makefile: 154; ansic: 60
file content (18 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from gssapi.raw.cython_types cimport gss_buffer_desc, OM_uint32

cdef extern from "python_gssapi_ext.h":
    ctypedef struct gss_iov_buffer_desc:
        OM_uint32 type
        gss_buffer_desc buffer
    ctypedef gss_iov_buffer_desc* gss_iov_buffer_t

cdef class IOV:
    cdef int iov_len
    cdef bint c_changed

    cdef bint _unprocessed
    cdef list _buffs
    cdef gss_iov_buffer_desc *_iov

    cdef gss_iov_buffer_desc* __cvalue__(IOV self) except NULL
    cdef _recreate_python_values(IOV self)