1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-11-03 06:07:17 -05:00
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