Theta/modules/server.h

20 lines
No EOL
433 B
C

//
// Készítette: Toldi Balázs Ádám
// Dátum: 2019. 11. 07.
//
#pragma once
#include "peer.h"
#include "webio.h"
void peer_loadPeerList(PeerList *list,Node_data mynode,fd_set * master);
/*!
*
* @param[out] output
*/
void getSeed(char*output);
/*!
*
* @param[in] cfg
* @return
*/
Node_data construct_Mynodedata(Config cfg);
void serverThread(SOCKET listening, fd_set* master, WebIO webIo, PeerList list,Node_data mynode);