back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/card_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'card_queue.h')
-rw-r--r--card_queue.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/card_queue.h b/card_queue.h
deleted file mode 100644
index 778ece4..0000000
--- a/card_queue.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef H_SENTRY_CARD_QUEUE
-#define H_SENTRY_CARD_QUEUE
-
-struct card_queue_item {
- const char *str;
- struct card_queue_item *next;
-};
-
-struct card_queue {
- struct card_queue_item *first;
- struct card_queue_item *last;
-};
-
-void init_queue(struct card_queue *cq);
-void push_queue(struct card_queue *cq, const char *str);
-struct card_queue_item* get_next_card_from_queue(struct card_queue *cq,
- struct card_queue_item *prev);
-int find_out_card_quantity_in_cq(const struct card_queue *cq);
-int is_empty_queue(struct card_queue *cq);
-const char* pop_card_queue(struct card_queue *cq);
-
-#endif