X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/blobdiff_plain/fa8b281a9e135ed7b0380d783ec2b1e81594508e..7a3774dc788a78b27755a915b646fcc26404bf20:/afs/_pts.pyx?ds=inline diff --git a/afs/_pts.pyx b/afs/_pts.pyx index c347037..3c10b70 100644 --- a/afs/_pts.pyx +++ b/afs/_pts.pyx @@ -1,8 +1,8 @@ -from afs cimport * -from afs import pyafs_error +from afs._util cimport * +from afs._util import pyafs_error import re -cdef import from "afs/ptuser.h": +cdef extern from "afs/ptuser.h": enum: PR_MAXNAMELEN PRGRP @@ -68,11 +68,11 @@ cdef import from "afs/ptuser.h": int ubik_PR_ListEntries(ubik_client *, afs_int32, afs_int32, afs_int32, prentries *, afs_int32 *) int ubik_PR_SetFieldsEntry(ubik_client *, afs_int32, afs_int32, afs_int32, afs_int32, afs_int32, afs_int32, afs_int32, afs_int32) -cdef import from "afs/pterror.h": +cdef extern from "afs/pterror.h": enum: PRNOENT -cdef import from "krb5/krb5.h": +cdef extern from "krb5/krb5.h": struct _krb5_context: pass struct krb5_principal_data: