From: Evan Broder Date: Wed, 18 Mar 2009 17:58:33 +0000 (-0400) Subject: Move com_err initializers into the common AFS imports. X-Git-Tag: 0.1.0~39 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/commitdiff_plain/562c4cd06e8c80fe088658a91dd63a3cb9e1fa8b Move com_err initializers into the common AFS imports. Signed-off-by: Evan Broder --- diff --git a/afs/_pts.pyx b/afs/_pts.pyx index 373d3c7..511e9ee 100644 --- a/afs/_pts.pyx +++ b/afs/_pts.pyx @@ -71,8 +71,6 @@ cdef import from "afs/pterror.h": PRNOENT PRTOOMANY - void initialize_PT_error_table() - cdef class PTEntry: cdef public afs_int32 flags cdef public afs_int32 id diff --git a/afs/afs.pxd b/afs/afs.pxd index 090a65e..d165921 100644 --- a/afs/afs.pxd +++ b/afs/afs.pxd @@ -134,3 +134,15 @@ cdef extern from "ubik.h": cdef extern from "afs/com_err.h": char * afs_error_message(int) + +# All AFS error tables +cdef extern from "afs/auth.h": + void initialize_KTC_error_table() +cdef extern from "afs/cellconfig.h": + void initialize_ACFG_error_table() +cdef extern from "afs/pterror.h": + void initialize_PT_error_table() +cdef extern from "rx/rxkad.h": + void initialize_RXK_error_table() +cdef extern from "ubik.h": + void initialize_U_error_table()