Move com_err initializers into the common AFS imports.
authorEvan Broder <broder@mit.edu>
Wed, 18 Mar 2009 17:58:33 +0000 (13:58 -0400)
committerEvan Broder <broder@mit.edu>
Wed, 18 Mar 2009 17:58:49 +0000 (13:58 -0400)
Signed-off-by: Evan Broder <broder@mit.edu>

afs/_pts.pyx
afs/afs.pxd

index 373d3c7..511e9ee 100644 (file)
@@ -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
index 090a65e..d165921 100644 (file)
@@ -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()