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