back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/card_queue.h
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-08-10 02:46:56 +0300
committerscratko <m@scratko.xyz>2024-08-10 02:46:56 +0300
commita2d696dea797faaa3157046c8ae89cd70e965bff (patch)
tree74051e828ec401f399b2316a535c200f3afa95c5 /card_queue.h
parent9e9919b897b00ff23aee6581471b4d7b4567bf4a (diff)
downloaddurak-a2d696dea797faaa3157046c8ae89cd70e965bff.tar.gz
durak-a2d696dea797faaa3157046c8ae89cd70e965bff.tar.bz2
durak-a2d696dea797faaa3157046c8ae89cd70e965bff.zip
Prefinal version
Added client. Moved files to directories.
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