diff options
Diffstat (limited to 'src/ci_queue.h')
-rw-r--r-- | src/ci_queue.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ci_queue.h b/src/ci_queue.h index cf8b182..7f3702b 100644 --- a/src/ci_queue.h +++ b/src/ci_queue.h @@ -10,15 +10,14 @@ #include <sys/queue.h> -struct ci_queue_entry { - char *url; - char *rev; - STAILQ_ENTRY(ci_queue_entry) entries; -}; +struct ci_queue_entry; int ci_queue_entry_create(struct ci_queue_entry **, const char *url, const char *rev); void ci_queue_entry_destroy(struct ci_queue_entry *); +const char *ci_queue_entry_get_url(const struct ci_queue_entry *); +const char *ci_queue_entry_get_rev(const struct ci_queue_entry *); + STAILQ_HEAD(ci_queue, ci_queue_entry); void ci_queue_create(struct ci_queue *); |