From 61880ab9380f3a71ae1f51df7b6f4836059c041f Mon Sep 17 00:00:00 2001 From: JamoBox Date: Mon, 2 Sep 2013 17:25:28 +0100 Subject: last of the comment refactoring from toxcore --- toxcore/network.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'toxcore/network.h') diff --git a/toxcore/network.h b/toxcore/network.h index 32850944..eb725d25 100644 --- a/toxcore/network.h +++ b/toxcore/network.h @@ -123,10 +123,10 @@ typedef struct { int sock; } Networking_Core; -/* return current time in milleseconds since the epoch. */ +/* return current time in milleseconds since the epoch. */ uint64_t current_time(void); -/* return a random number. +/* return a random number. * NOTE: this function should probably not be used where cryptographic randomness is absolutely necessary. */ uint32_t random_int(void); @@ -143,12 +143,12 @@ void networking_registerhandler(Networking_Core *net, uint8_t byte, packet_handl void networking_poll(Networking_Core *net); /* Initialize networking. - * bind to ip and port. - * ip must be in network order EX: 127.0.0.1 = (7F000001). - * port is in host byte order (this means don't worry about it). + * bind to ip and port. + * ip must be in network order EX: 127.0.0.1 = (7F000001). + * port is in host byte order (this means don't worry about it). * - * returns 0 if no problems. - * returns -1 if there were problems. + * return 0 if no problems. + * return -1 if there were problems. */ Networking_Core *new_networking(IP ip, uint16_t port); -- cgit v1.2.3