dddd4048e0cc015df353b1b595c8904215f187fe
   1#ifndef PROMISOR_REMOTE_H
   2#define PROMISOR_REMOTE_H
   3
   4struct object_id;
   5
   6/*
   7 * Promisor remote linked list
   8 * Its information come from remote.XXX config entries.
   9 */
  10struct promisor_remote {
  11        struct promisor_remote *next;
  12        const char name[FLEX_ARRAY];
  13};
  14
  15extern void promisor_remote_reinit(void);
  16extern struct promisor_remote *promisor_remote_find(const char *remote_name);
  17extern int has_promisor_remote(void);
  18extern int promisor_remote_get_direct(struct repository *repo,
  19                                      const struct object_id *oids,
  20                                      int oid_nr);
  21
  22#endif /* PROMISOR_REMOTE_H */