libcproject
C static library easier to use than libc (C standard library).
terminal.h
Go to the documentation of this file.
1 #ifndef __LIBCPROJECT_TERMINAL__
2 #define __LIBCPROJECT_TERMINAL__
3 
4 #include <errno.h>
5 #include <stdbool.h>
6 #include <stdint.h>
7 #include <stdio.h>
8 #include <stdlib.h>
9 
10 #include "array_list.h"
11 #include "character.h"
12 #include "hash_map.h"
13 #include "linked_list.h"
14 #include "queue.h"
15 #include "stack.h"
16 #include "types.h"
17 
25 
32 void terminal_print_int(void* value);
33 
40 void terminal_print_bool(void* value);
41 
48 void terminal_print_long(void* value);
49 
56 void terminal_print_unsigned_long(void* value);
57 
64 void terminal_print_float(void* value);
65 
72 void terminal_print_double(void* value);
73 
80 void terminal_print_int8_t(void* value);
81 
88 void terminal_print_int16_t(void* value);
89 
96 void terminal_print_int32_t(void* value);
97 
104 void terminal_print_int64_t(void* value);
105 
112 void terminal_print_uint8_t(void* value);
113 
120 void terminal_print_uint16_t(void* value);
121 
128 void terminal_print_uint32_t(void* value);
129 
136 void terminal_print_uint64_t(void* value);
137 
144 void terminal_print_char(void* value);
145 
155 void terminal_print_array(void* array, size_t array_size, size_t element_size, void (*print_element)(void*));
156 
163 void terminal_print_string(void* value);
164 
172 void terminal_print_stack(struct stack* stack, void (*print_element)(void*));
173 
181 void terminal_print_queue(struct queue* queue, void (*print_element)(void*));
182 
190 void terminal_print_linked_list(struct linked_list* linked_list, void (*print_element)(void*));
191 
199 void terminal_print_hash_map(struct hash_map* hash_map, void (*print_element)(void*));
200 
208 void terminal_print_array_list(struct array_list* list, void (*print_element)(void*));
209 
210 #endif
A dynamic array implementation.
Definition: array_list.h:17
Hash map data structure.
Definition: hash_map.h:20
Linked list data structure.
Definition: linked_list.h:15
Queue structure => FIFO (First In First Out).
Definition: queue.h:14
Stack structure => LIFO (Last In First Out).
Definition: stack.h:14
void terminal_print_float(void *value)
Print a float.
void terminal_print_linked_list(struct linked_list *linked_list, void(*print_element)(void *))
Print a linked list.
void terminal_print_uint8_t(void *value)
Print a uint8_t.
void terminal_print_array_list(struct array_list *list, void(*print_element)(void *))
Print an array list.
void terminal_print_hash_map(struct hash_map *hash_map, void(*print_element)(void *))
Print a hash map.
void terminal_print_uint32_t(void *value)
Print a uint32_t.
void terminal_print_char(void *value)
Print a char.
string_t terminal_input()
Read a line from stdin.
void terminal_print_queue(struct queue *queue, void(*print_element)(void *))
Print a queue.
void terminal_print_string(void *value)
Print a string.
void terminal_print_double(void *value)
Print a double.
void terminal_print_uint64_t(void *value)
Print a uint64_t.
void terminal_print_int32_t(void *value)
Print a int32_t.
void terminal_print_unsigned_long(void *value)
Print a unsigned long.
void terminal_print_stack(struct stack *stack, void(*print_element)(void *))
Print a stack.
void terminal_print_int8_t(void *value)
Print a int8_t.
void terminal_print_long(void *value)
Print a long.
void terminal_print_bool(void *value)
Print a boolean.
void terminal_print_int16_t(void *value)
Print a int16_t.
void terminal_print_int(void *value)
Print a int.
void terminal_print_uint16_t(void *value)
Print a uint16_t.
void terminal_print_int64_t(void *value)
Print a int64_t.
void terminal_print_array(void *array, size_t array_size, size_t element_size, void(*print_element)(void *))
Print an array.
char * string_t
Definition: types.h:8