version 1.26, 2012/09/19 15:19:53
|
version 1.27, 2012/11/19 21:12:03
|
Line 466 inline struct io_ether_addr *io_ether_aton(const char
|
Line 466 inline struct io_ether_addr *io_ether_aton(const char
|
* @addr = Address |
* @addr = Address |
* return: 0 not supported family type or port number |
* return: 0 not supported family type or port number |
*/ |
*/ |
inline u_short io_n2port(io_sockaddr_t * __restrict addr); | inline unsigned short io_n2port(io_sockaddr_t * __restrict addr); |
/* |
/* |
* io_n2addr() - Extract address from network structure |
* io_n2addr() - Extract address from network structure |
* |
* |
Line 485 const char *io_n2addr(io_sockaddr_t * __restrict addr,
|
Line 485 const char *io_n2addr(io_sockaddr_t * __restrict addr,
|
*/ |
*/ |
io_sockaddr_t *io_gethostbyname(const char *psHost, unsigned short port, |
io_sockaddr_t *io_gethostbyname(const char *psHost, unsigned short port, |
io_sockaddr_t * __restrict addr); |
io_sockaddr_t * __restrict addr); |
|
/* |
|
* io_addrcmp() - Compare network addresses |
|
* |
|
* @a = 1st address |
|
* @b = 2nd address |
|
* @p = compare and ports, if family is AF_INET or AF_INET6 |
|
* return: 0 is equal or !=0 is different |
|
*/ |
|
int io_addrcmp(io_sockaddr_t * __restrict a, io_sockaddr_t * __restrict b, int p); |
|
|
/* |
/* |
* io_vars2buffer() - Marshaling data from array with variables to buffer |
* io_vars2buffer() - Marshaling data from array with variables to buffer |
Line 560 ait_val_t *io_makeVar(ait_type_t type, ...);
|
Line 569 ait_val_t *io_makeVar(ait_type_t type, ...);
|
* @... = data |
* @... = data |
* return: -1 error or 0 ok |
* return: -1 error or 0 ok |
*/ |
*/ |
inline int io_setlikeVar(ait_val_t * __restrict v, ait_type_t t, u_int l, ...); | inline int io_setlikeVar(ait_val_t * __restrict v, ait_type_t t, unsigned int l, ...); |
/* |
/* |
* io_sprintfVar() - Builtin string variable from formatted input |
* io_sprintfVar() - Builtin string variable from formatted input |
* |
* |
Line 640 inline void io_sortVarsByVal(array_t * __restrict vars
|
Line 649 inline void io_sortVarsByVal(array_t * __restrict vars
|
* @key = Search key |
* @key = Search key |
* return: NULL error or not found, !=NULL valid element |
* return: NULL error or not found, !=NULL valid element |
*/ |
*/ |
ait_val_t *io_findKeyVars(array_t * __restrict vars, u_short key); | ait_val_t *io_findKeyVars(array_t * __restrict vars, unsigned short key); |
/* |
/* |
* io_findKeyHash() - Find variable by hash string from array |
* io_findKeyHash() - Find variable by hash string from array |
* |
* |