summaryrefslogtreecommitdiff
path: root/promisor-remote.h
blob: 01dcdf4dc72c2084bfc3cd2744405b66a64dd864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef PROMISOR_REMOTE_H
#define PROMISOR_REMOTE_H

/*
 * Promisor remote linked list
 * Its information come from remote.XXX config entries.
 */
struct promisor_remote {
	struct promisor_remote *next;
	const char name[FLEX_ARRAY];
};

extern struct promisor_remote *promisor_remote_find(const char *remote_name);
extern int has_promisor_remote(void);

#endif /* PROMISOR_REMOTE_H */