#include "zrtp_config.h"
#include "zrtp_types.h"
Go to the source code of this file.
Typedefs | |
typedef uint64_t | zrtp_time_t |
Time in miliseconds. | |
Functions | |
void * | zrtp_sys_alloc (unsigned int size) |
Allocates memory of a defined size. | |
void | zrtp_sys_free (void *obj) |
release memory | |
void * | zrtp_memcpy (void *dest, const void *src, unsigned int length) |
Memory copying function. | |
void * | zrtp_memset (void *s, int c, unsigned int n) |
Write a byte to a byte string. | |
zrtp_time_t | zrtp_time_now () |
Returns current date and time. | |
zrtp_status_t | zrtp_mutex_init (zrtp_mutex_t **mutex) |
Initializing the mutex structure. | |
zrtp_status_t | zrtp_mutex_destroy (zrtp_mutex_t *mutex) |
Deinitializing the mutex structure. | |
zrtp_status_t | zrtp_mutex_lock (zrtp_mutex_t *mutex) |
Mutex locking. | |
zrtp_status_t | zrtp_mutex_unlock (zrtp_mutex_t *mutex) |
Mutex releasing. |