--- /dev/null
+cdef extern from "checkpath.h":
+ struct checkpath:
+ ctypedef int uid_t
+ ctypedef int gid_t
+ uid_t cp_uid
+ gid_t cp_gid[]
+ int cp_gids
+ int cp_verbose
+ unsigned cp_what
+ void (*cp_report)(unsigned, int, char *, char *, void *)
+ void *cp_arg
+ int checkpath(char *path, checkpath *cp)
+ void checkpath_setids(checkpath *cp)
+