1
0
forked from aniani/gmnisrv
gmnisrv/include/log.h

11 lines
279 B
C
Raw Normal View History

2020-09-23 14:32:52 -04:00
#ifndef GMNISRV_LOG
#define GMNISRV_LOG
#include <sys/socket.h>
void server_log(const char *fmt, ...);
void client_log(struct sockaddr *addr, const char *fmt, ...);
void server_error(const char *fmt, ...);
void client_error(struct sockaddr *addr, const char *fmt, ...);
#endif