snmp_util.h File Reference

Go to the source code of this file.

Functions

void snmp_alarm (int ival, void(*handler)(void))
 
void fd_add (int fd, void(*func)(int fd))
 
void fd_service (void)
 
void strcpy_safe (char *str, int str_len, char *val)
 
u_long Util_local_ip_address (void)
 
long Util_time_now (void)
 
long Util_time_running ()
 
int Util_file_read (char *file, int offset, char *data, int dataSz)
 
int Util_file_write (char *file, int offset, char *data, int dataSz)
 

Function Documentation

◆ fd_add()

void fd_add ( int  fd,
void(*)(int fd)  func 
)

◆ fd_service()

void fd_service ( void  )

◆ snmp_alarm()

void snmp_alarm ( int  ival,
void(*)(void)  handler 
)

◆ strcpy_safe()

void strcpy_safe ( char *  str,
int  str_len,
char *  val 
)

◆ Util_file_read()

int Util_file_read ( char *  file,
int  offset,
char *  data,
int  dataSz 
)

◆ Util_file_write()

int Util_file_write ( char *  file,
int  offset,
char *  data,
int  dataSz 
)

◆ Util_local_ip_address()

u_long Util_local_ip_address ( void  )

◆ Util_time_now()

long Util_time_now ( void  )

◆ Util_time_running()

long Util_time_running ( )

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors