#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <asterisk/lock.h>
#include <asterisk/utils.h>
Go to the source code of this file.
Functions | |
hostent * | ast_gethostbyname (const char *host, struct ast_hostent *hp) |
AST_MUTEX_DEFINE_STATIC (test_lock) | |
int | test_for_thread_safety (void) |
int | ast_base64decode (unsigned char *dst, char *src, int max) |
int | ast_base64encode (char *dst, unsigned char *src, int srclen, int max) |
const char * | ast_inet_ntoa (char *buf, int bufsiz, struct in_addr ia) |
int | ast_utils_init (void) |
|
Definition at line 221 of file utils.c.
|
|
Definition at line 259 of file utils.c.
|
|
Definition at line 134 of file utils.c. References ast_hostent::buf, ast_hostent::hp, and s. Referenced by ast_get_ip().
|
|
Definition at line 337 of file utils.c. Referenced by ast_apply_ha(), ast_ouraddrfor(), ast_rtcp_read(), ast_rtp_bridge(), ast_rtp_read(), and ast_rtp_senddigit().
|
|
|
|
Definition at line 342 of file utils.c. Referenced by main().
|
|
Definition at line 193 of file utils.c. References ast_mutex_lock, and ast_mutex_unlock. Referenced by main().
|