X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=git_acl.h;h=b1be1653a1c5f3bb2baf1cc1f37051b05c74f0c4;hb=HEAD;hp=80440ccfe7dbe96d4689a22baef228b940c263da;hpb=463b5543f785f68c5a8978adc8010aab8f0fe0bb;p=repo_shell.git diff --git a/git_acl.h b/git_acl.h index 80440cc..b1be165 100644 --- a/git_acl.h +++ b/git_acl.h @@ -18,22 +18,6 @@ #ifndef GIT_ACL_H #define GIT_ACL_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "ini.h" -#include "utility.h" -#include "mystrtok.h" -#include "stra.h" - -#define GIT_ACL_FILE "git_acl.cfg" - typedef enum { PERMS_NOTFOUND = 0, PERMS_NONE, @@ -42,7 +26,7 @@ typedef enum { PERMS_COUNT } perms_t; -int git_acl(char *user, char *repo, char *file); +int git_acl(const char *user, const char *repo, const char *file); char *git_acl_last_repoid(); char *git_acl_last_userid(); int git_acl_last_perms();