X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/checkpath-python/blobdiff_plain/e822318258fb5977492017f5df1cf9230dd3800d..333870bbf36270a9132707e1cb1aff9fc3ace8ab:/checkpath.pyx~ diff --git a/checkpath.pyx~ b/checkpath.pyx~ new file mode 100644 index 0000000..46ead15 --- /dev/null +++ b/checkpath.pyx~ @@ -0,0 +1,14 @@ +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) +