A caller is the handle we have for an incoming call. More...
Data Fields | |
struct GNUNET_CONVERSATION_Caller * | next |
We keep all callers in a DLL. More... | |
struct GNUNET_CONVERSATION_Caller * | prev |
We keep all callers in a DLL. More... | |
struct GNUNET_CONVERSATION_Phone * | phone |
Our phone. More... | |
GNUNET_CONVERSATION_CallerEventHandler | event_handler |
Function to call for phone events. More... | |
void * | event_handler_cls |
Closure for event_handler. More... | |
struct GNUNET_SPEAKER_Handle * | speaker |
Speaker, or NULL if none is attached. More... | |
struct GNUNET_MICROPHONE_Handle * | mic |
Microphone, or NULL if none is attached. More... | |
struct GNUNET_CRYPTO_PublicKey | caller_id |
Identity of the person calling us. More... | |
uint32_t | cid |
Internal handle to identify the caller with the service. More... | |
enum CallerState | state |
State machine for the phone. More... | |
A caller is the handle we have for an incoming call.
Definition at line 68 of file conversation_api.c.
struct GNUNET_CONVERSATION_Caller* GNUNET_CONVERSATION_Caller::next |
We keep all callers in a DLL.
Definition at line 73 of file conversation_api.c.
Referenced by find_caller().
struct GNUNET_CONVERSATION_Caller* GNUNET_CONVERSATION_Caller::prev |
We keep all callers in a DLL.
Definition at line 78 of file conversation_api.c.
struct GNUNET_CONVERSATION_Phone* GNUNET_CONVERSATION_Caller::phone |
Our phone.
Definition at line 83 of file conversation_api.c.
Referenced by GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_CONVERSATION_caller_suspend(), handle_phone_ring(), and transmit_phone_audio().
GNUNET_CONVERSATION_CallerEventHandler GNUNET_CONVERSATION_Caller::event_handler |
Function to call for phone events.
Definition at line 88 of file conversation_api.c.
Referenced by GNUNET_CONVERSATION_caller_pick_up(), handle_phone_resume(), and handle_phone_suspend().
void* GNUNET_CONVERSATION_Caller::event_handler_cls |
Closure for event_handler.
Definition at line 93 of file conversation_api.c.
Referenced by GNUNET_CONVERSATION_caller_pick_up(), handle_phone_resume(), and handle_phone_suspend().
struct GNUNET_SPEAKER_Handle* GNUNET_CONVERSATION_Caller::speaker |
Speaker, or NULL if none is attached.
Definition at line 98 of file conversation_api.c.
Referenced by clean_up_callers(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_CONVERSATION_caller_suspend(), handle_phone_audio(), handle_phone_hangup(), handle_phone_resume(), and handle_phone_suspend().
struct GNUNET_MICROPHONE_Handle* GNUNET_CONVERSATION_Caller::mic |
Microphone, or NULL if none is attached.
Definition at line 103 of file conversation_api.c.
Referenced by clean_up_callers(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_CONVERSATION_caller_suspend(), handle_phone_hangup(), handle_phone_resume(), and handle_phone_suspend().
struct GNUNET_CRYPTO_PublicKey GNUNET_CONVERSATION_Caller::caller_id |
Identity of the person calling us.
Definition at line 108 of file conversation_api.c.
Referenced by clean_up_callers(), handle_phone_hangup(), and handle_phone_ring().
uint32_t GNUNET_CONVERSATION_Caller::cid |
Internal handle to identify the caller with the service.
Definition at line 113 of file conversation_api.c.
Referenced by find_caller(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_CONVERSATION_caller_suspend(), handle_phone_ring(), and transmit_phone_audio().
enum CallerState GNUNET_CONVERSATION_Caller::state |
State machine for the phone.
Definition at line 118 of file conversation_api.c.
Referenced by clean_up_callers(), GNUNET_CONVERSATION_caller_hang_up(), GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_caller_resume(), GNUNET_CONVERSATION_caller_suspend(), handle_phone_audio(), handle_phone_hangup(), handle_phone_resume(), handle_phone_ring(), handle_phone_suspend(), httpdomain.autohttp.bottle.AutobottleDirective::run(), httpdomain.autohttp.flask.AutoflaskDirective::run(), httpdomain.autohttp.flaskqref.QuickReferenceFlaskDirective::run(), httpdomain.autohttp.tornado.AutoTornadoDirective::run(), and typescriptdomain.TypeScriptDefinition::run().