1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#include <errno.h> #include <fcntl.h> #include <git2.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <syslog.h> #include <unistd.h> #include "config.h" #include "macros.h" git_repository **init_git(config *cfg) { git_repository **repos; git_repository *repo; }