#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.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>
#include <asterisk/logger.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) |
int | ast_pthread_create (pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data) |
char * | ast_strcasestr (const char *haystack, const char *needle) |
|
Definition at line 227 of file utils.c.
|
|
Definition at line 265 of file utils.c.
|
|
Definition at line 140 of file utils.c. References ast_hostent::buf, ast_hostent::hp, and s. Referenced by ast_get_ip().
|
|
Definition at line 343 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 357 of file utils.c. References ast_log(), LOG_WARNING, PTHREAD_ATTR_STACKSIZE, and pthread_create. Referenced by ast_autoservice_start(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pbx_start(), init_manager(), and test_for_thread_safety().
|
|
Definition at line 386 of file utils.c. References ast_log(), and LOG_ERROR.
|
|
Definition at line 348 of file utils.c. Referenced by main().
|
|
Definition at line 199 of file utils.c. References ast_mutex_lock, ast_mutex_unlock, and ast_pthread_create(). Referenced by main().
|