1 cdef extern from "errno.h":
4 cdef extern from "string.h":
5 char * strerror(int errnum)
7 cdef extern from "netinet/in.h":
12 unsigned short sin_port
16 cdef extern from "afs/stds.h":
17 ctypedef long afs_int32
19 cdef extern from "afs/dirpath.h":
20 char * AFSDIR_CLIENT_ETC_DIRPATH
22 cdef extern from "afs/cellconfig.h":
28 # We just pass afsconf_dir structs around to other AFS functions,
29 # so this can be treated as opaque
33 # For afsconf_cell, on the other hand, we care about everything
35 char name[MAXCELLCHARS]
38 sockaddr_in hostAddr[MAXHOSTSPERCELL]
39 char hostName[MAXHOSTSPERCELL][MAXHOSTCHARS]
43 afsconf_dir *afsconf_Open(char *adir)
44 int afsconf_GetCellInfo(afsconf_dir *adir,
47 afsconf_cell *acellInfo)
49 cdef extern from "ubik.h":
53 # ubik_client is an opaque struct, so we don't care about its members
57 cdef extern from "rx/rx.h":
61 cdef extern from "afs/com_err.h":
62 char * error_message(int)