chiark / gitweb /
Load . into chkpath-python/trunk.
[checkpath-python] / checkpath.pyx~
diff --git a/checkpath.pyx~ b/checkpath.pyx~
new file mode 100644 (file)
index 0000000..46ead15
--- /dev/null
@@ -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)
+