libzrtp  1.2.0
ZRTP VoIP security
Typedefs | Functions
zrtp_iface_system.h File Reference

libzrtp platform-dependent routine More...

#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. More...
 

Functions

void * zrtp_sys_alloc (unsigned int size)
 Allocates memory of a defined size. More...
 
void zrtp_sys_free (void *obj)
 release memory More...
 
void * zrtp_memcpy (void *dest, const void *src, unsigned int length)
 Memory copying function. More...
 
void * zrtp_memset (void *s, int c, unsigned int n)
 Write a byte to a byte string. More...
 
zrtp_time_t zrtp_time_now ()
 Returns current date and time. More...
 
zrtp_status_t zrtp_mutex_init (zrtp_mutex_t **mutex)
 Initializing the mutex structure. More...
 
zrtp_status_t zrtp_mutex_destroy (zrtp_mutex_t *mutex)
 Deinitializing the mutex structure. More...
 
zrtp_status_t zrtp_mutex_lock (zrtp_mutex_t *mutex)
 Mutex locking. More...
 
zrtp_status_t zrtp_mutex_unlock (zrtp_mutex_t *mutex)
 Mutex releasing. More...
 

Detailed Description

libzrtp platform-dependent routine