init ems server code
This commit is contained in:
21
plat/iptrans/src/simu_debug.c
Normal file
21
plat/iptrans/src/simu_debug.c
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
/*@ignore@*/
|
||||
int main()
|
||||
{
|
||||
debug_init();
|
||||
init_iptrans();
|
||||
snmp_init(4957);
|
||||
// heartbeat_init(0);
|
||||
while(1)
|
||||
{
|
||||
debug_rt();
|
||||
snmp_timer();
|
||||
// heartbeat_timer();
|
||||
usleep(1);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
/*@end@*/
|
||||
Reference in New Issue
Block a user