X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=git_acl.h;h=47c6aa88af7752b38bc7432e062f7501dde9da01;hb=324d66c100a844c9554e676bb4ca18109f609b04;hp=80440ccfe7dbe96d4689a22baef228b940c263da;hpb=2657b21c48ee21f9f1667be242d7e85be8161cf9;p=repo_shell.git diff --git a/git_acl.h b/git_acl.h index 80440cc..47c6aa8 100644 --- a/git_acl.h +++ b/git_acl.h @@ -18,7 +18,6 @@ #ifndef GIT_ACL_H #define GIT_ACL_H -#include #include #include #include @@ -32,8 +31,6 @@ #include "mystrtok.h" #include "stra.h" -#define GIT_ACL_FILE "git_acl.cfg" - typedef enum { PERMS_NOTFOUND = 0, PERMS_NONE, @@ -42,7 +39,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();