#ifndef GIT_ACL_H
#define GIT_ACL_H
-#include <stdbool.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include "mystrtok.h"
#include "stra.h"
-#define GIT_ACL_FILE "git_acl.cfg"
-
typedef enum {
PERMS_NOTFOUND = 0,
PERMS_NONE,
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();