Logo Search packages:      
Sourcecode: lft version File versions  Download package

lft_ifname.h


#ifndef LFT_IFNAME_H
#define LFT_IFNAME_H

#ifdef      __cplusplus
extern "C" {
#endif

#define     STRNCPY(dst, src, len)  {     \
      (dst)[(len)-1] = '\0';        \
      strncpy((dst),(src),(len)-1); \
}

extern u_long           lft_getifaddr (const char *);
extern char *           lft_getifname (struct in_addr);

#ifdef      __cplusplus
}
#endif

#endif /*LFT_IFNAME_H*/

Generated by  Doxygen 1.6.0   Back to index