Peer * get_peer_queue(int *count)
Get the peer queue.
bool get_peer_from_queue(char *buffer, size_t buffer_size)
Get a peer from the queue.
void add_peer_to_queue(const char *ip, int port)
Add a peer to the queue.
void clear_peer_queue()
Clear the peer queue.
void print_peer_queue()
Print the peer queue.
bool is_peer_queue_empty()
Check if the peer queue is empty.
The peer structure used to store the peer information obtained by peer discovery process.