syslog.h
Go to the documentation of this file.
00001
00081 #ifndef NET_SYSLOG_H
00082 #define NET_SYSLOG_H
00083 
00084 #include <lwip/netif.h>
00085 #include <lwip/ip_addr.h>
00086
00087 typedef struct SysLog
00088 {
00089     struct netconn *syslog_server;
00090     struct netbuf *send_buf;
00091     struct ip_addr server_addr;
00092
00093     uint32_t syslog_cnt;
00094 } SysLog;
00095
00096
00097 uint32_t syslog_count(void);
00098 struct ip_addr syslog_ip(void);
00099 void syslog_setIp(struct ip_addr addr);
00100
00101 int syslog_printf(const char *fmt, ...);
00102
00103 void syslog_init(SysLog *syslog_ctx, struct ip_addr addr);
00104  //defgroup syslog_module.
00106
00107 #endif /* NET_SYSLOG_H */