projects
/
invirt/packages/python-afs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6734f80
)
Move com_err initializers into the common AFS imports.
author
Evan Broder
<broder@mit.edu>
Wed, 18 Mar 2009 17:58:33 +0000
(13:58 -0400)
committer
Evan 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
patch
|
blob
|
history
afs/afs.pxd
patch
|
blob
|
history
diff --git
a/afs/_pts.pyx
b/afs/_pts.pyx
index
373d3c7
..
511e9ee
100644
(file)
--- 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
(file)
--- 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()