diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/log.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h new file mode 100644 index 0000000..3f3f964 --- /dev/null +++ b/include/log.h @@ -0,0 +1,10 @@ +#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 |
