1 /* SWIG interface for libitkacl */
4 /* Same as for Perl, except that we return a boolean, not an int. */
6 extern int itkacl_check(char *realm, char *user, char *errmsg, size_t errmsgsize);
7 PyObject *check(char *realm, char *user)
10 int ret = itkacl_check(realm, user, errmsg, 1024);
12 PyErr_SetString(PyExc_RuntimeError, errmsg);