summaryrefslogtreecommitdiff
path: root/git-file.h
blob: 4642528a97a10faa067a37b3173030aecf42c776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * git-file.h - Open and read a file from git
 *
 * Written 2016 by Werner Almesberger
 * Copyright 2016 by Werner Almesberger
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef GIT_FILE_H
#define	GIT_FILE_H

#include <stdbool.h>


void git_read(const char *revision, const char *name,
    bool (*parse)(void *user, const char *line), void *user);

#endif /* !GIT_FILE_H */