GNUnet  0.11.x
Data Fields
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_EcdsaPublicKey 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 69 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 74 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 79 of file conversation_api.c.

◆ phone

struct GNUNET_CONVERSATION_Phone* GNUNET_CONVERSATION_Caller::phone

◆ event_handler

GNUNET_CONVERSATION_CallerEventHandler GNUNET_CONVERSATION_Caller::event_handler

Function to call for phone events.

Definition at line 89 of file conversation_api.c.

Referenced by GNUNET_CONVERSATION_caller_pick_up(), GNUNET_CONVERSATION_phone_create(), handle_phone_resume(), and handle_phone_suspend().

◆ event_handler_cls

void* GNUNET_CONVERSATION_Caller::event_handler_cls

◆ speaker

struct GNUNET_SPEAKER_Handle* GNUNET_CONVERSATION_Caller::speaker

◆ mic

struct GNUNET_MICROPHONE_Handle* GNUNET_CONVERSATION_Caller::mic

◆ caller_id

struct GNUNET_CRYPTO_EcdsaPublicKey GNUNET_CONVERSATION_Caller::caller_id

Identity of the person calling us.

Definition at line 109 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

enum CallerState GNUNET_CONVERSATION_Caller::state

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