16 #ifndef __ZRTP_IFACE_SYSTEM_H__
17 #define __ZRTP_IFACE_SYSTEM_H__
19 #include "zrtp_config.h"
20 #include "zrtp_types.h"
22 #if defined(__cplusplus)
88 extern void*
zrtp_memcpy(
void* dest,
const void* src,
unsigned int length);
98 extern void *
zrtp_memset(
void *s,
int c,
unsigned int n);
179 #if defined(__cplusplus)
zrtp_status_t
libzrtp functions statuses.
Definition: zrtp_error.h:72
void * zrtp_sys_alloc(unsigned int size)
Allocates memory of a defined size.
zrtp_status_t zrtp_mutex_init(zrtp_mutex_t **mutex)
Initializing the mutex structure.
void * zrtp_memset(void *s, int c, unsigned int n)
Write a byte to a byte string.
void zrtp_sys_free(void *obj)
release memory
zrtp_time_t zrtp_time_now()
Returns current date and time.
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.
uint64_t zrtp_time_t
Time in miliseconds.
Definition: zrtp_iface_system.h:50
void * zrtp_memcpy(void *dest, const void *src, unsigned int length)
Memory copying function.