GNUnet 0.22.2
GNUNET_CONVERSATION_Caller Struct Reference

A caller is the handle we have for an incoming call. More...

Collaboration diagram for GNUNET_CONVERSATION_Caller:
[legend]

Data Fields

struct GNUNET_CONVERSATION_Callernext
 We keep all callers in a DLL. More...
 
struct GNUNET_CONVERSATION_Callerprev
 We keep all callers in a DLL. More...
 
struct GNUNET_CONVERSATION_Phonephone
 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_Handlespeaker
 Speaker, or NULL if none is attached. More...
 
struct GNUNET_MICROPHONE_Handlemic
 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...
 

Detailed Description

A caller is the handle we have for an incoming call.

Definition at line 68 of file conversation_api.c.

Field Documentation

◆ next

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().

◆ prev

struct GNUNET_CONVERSATION_Caller* GNUNET_CONVERSATION_Caller::prev

We keep all callers in a DLL.

Definition at line 78 of file conversation_api.c.

◆ phone

◆ event_handler

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().

◆ event_handler_cls

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().

◆ speaker

◆ mic

◆ caller_id

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().

◆ cid

uint32_t GNUNET_CONVERSATION_Caller::cid

◆ state


The documentation for this struct was generated from the following file: