mirror of
https://github.com/hmaxnl/netex.git
synced 2025-05-05 02:07:55 +02:00
14 lines
394 B
C
14 lines
394 B
C
#ifndef NETEX_H
|
|
#define NETEX_H
|
|
|
|
#include <stdio.h>
|
|
|
|
#define PRINT(msg, args...) fprintf(stdout, msg, ##args)
|
|
#define PRINT_LINE(msg, args...) fprintf(stdout, msg "\n", ##args)
|
|
#define WARN(msg, args...) fprintf(stdout, "[Warning]: " msg "\n", ##args)
|
|
#define ERROR(msg, args...) fprintf(stderr, "[ERROR]: " msg "\n", ##args)
|
|
|
|
void netex_init(void);
|
|
void netex_shutdown(void);
|
|
|
|
#endif //NETEX_H
|