zrtp_retry_task Struct Reference
[Library interfaces overview]

Structure for call delay mechanism Contains all the information necessary to perform and synchronize scheduled tasks. The call delay algorithm is explained in detail in section 4.4 Packet retries;. More...

#include <zrtp_iface.h>


Data Fields

zrtp_call_callback_t callback
uint32_t timeout
void * usr_data
 User data pointer. Pointer to the user data. This pointer can be used for fast access to some additional data attached to this task by the user application.
uint8_t _is_enabled
 Task activity flag. Libzrtp unsets this flag on task canceling. It prevents the scheduler engine from re-adding an already canceled task. Callback handlers skip passive tasks.
uint32_t _retrys
 Number of task retries. Every handler that attempts the task increases it by one. When the limit is reached the scheduler should stop retries and performs a specified action - generally raises an error.
uint8_t _is_busy


Detailed Description

Structure for call delay mechanism Contains all the information necessary to perform and synchronize scheduled tasks. The call delay algorithm is explained in detail in section 4.4 Packet retries;.

Definition at line 129 of file zrtp_iface.h.


Field Documentation

zrtp_call_callback_t zrtp_retry_task::callback

Task action callback

Definition at line 132 of file zrtp_iface.h.

uint32_t zrtp_retry_task::timeout

Timeout before call in milliseconds

Definition at line 135 of file zrtp_iface.h.

void* zrtp_retry_task::usr_data

User data pointer. Pointer to the user data. This pointer can be used for fast access to some additional data attached to this task by the user application.

Definition at line 142 of file zrtp_iface.h.

uint8_t zrtp_retry_task::_is_enabled

Task activity flag. Libzrtp unsets this flag on task canceling. It prevents the scheduler engine from re-adding an already canceled task. Callback handlers skip passive tasks.

Definition at line 150 of file zrtp_iface.h.

uint32_t zrtp_retry_task::_retrys

Number of task retries. Every handler that attempts the task increases it by one. When the limit is reached the scheduler should stop retries and performs a specified action - generally raises an error.

Definition at line 157 of file zrtp_iface.h.

uint8_t zrtp_retry_task::_is_busy

Definition at line 159 of file zrtp_iface.h.


The documentation for this struct was generated from the following file:
This file is part of the documentation for Zfone.
Copyright ©  2006-2008 Philip R. Zimmermann. All rights reserved.
Generated on Mon November 10 2008 by doxygen 1.5.7-20060202. Written by Viktor Krikun, © 2006-2008