aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ci_queue.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 14:24:36 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 14:24:40 +0200
commit046e353e128372f846c432a90ca9401506d37d5b (patch)
treeec4f318fac89c2144211e58181b51f53d4cc3e55 /src/ci_queue.h
parentcmake: document _GNU_SOURCE usage (diff)
downloadcimple-046e353e128372f846c432a90ca9401506d37d5b.tar.gz
cimple-046e353e128372f846c432a90ca9401506d37d5b.zip
ci_queue -> run_queue
Also, some minor refactoring.
Diffstat (limited to 'src/ci_queue.h')
-rw-r--r--src/ci_queue.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/ci_queue.h b/src/ci_queue.h
deleted file mode 100644
index a0e8ce5..0000000
--- a/src/ci_queue.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2022 Egor Tensin <Egor.Tensin@gmail.com>
- * This file is part of the "cimple" project.
- * For details, see https://github.com/egor-tensin/cimple.
- * Distributed under the MIT License.
- */
-
-#ifndef __CI_QUEUE_H__
-#define __CI_QUEUE_H__
-
-#include <sys/queue.h>
-
-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 *);
-void ci_queue_destroy(struct ci_queue *);
-
-int ci_queue_is_empty(const struct ci_queue *);
-
-void ci_queue_add_first(struct ci_queue *, struct ci_queue_entry *);
-void ci_queue_add_last(struct ci_queue *, struct ci_queue_entry *);
-
-struct ci_queue_entry *ci_queue_remove_first(struct ci_queue *);
-
-#endif