GNUnet 0.22.2
GNUNET_DB_EventHandler Struct Reference

Handle for an active LISTENer to the database. More...

Collaboration diagram for GNUNET_DB_EventHandler:
[legend]

Data Fields

struct GNUNET_ShortHashCode sh
 Channel name. More...
 
GNUNET_DB_EventCallback cb
 Function to call on events. More...
 
void * cb_cls
 Closure for cb. More...
 
struct GNUNET_PQ_Contextdb
 Database context this event handler is with. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Task to run on timeout. More...
 

Detailed Description

Handle for an active LISTENer to the database.

Definition at line 33 of file pq_event.c.

Field Documentation

◆ sh

struct GNUNET_ShortHashCode GNUNET_DB_EventHandler::sh

Channel name.

Definition at line 38 of file pq_event.c.

Referenced by GNUNET_PQ_event_listen(), GNUNET_PQ_event_listen_cancel(), and manage_subscribe().

◆ cb

GNUNET_DB_EventCallback GNUNET_DB_EventHandler::cb

Function to call on events.

Definition at line 43 of file pq_event.c.

Referenced by do_notify(), event_timeout(), and GNUNET_PQ_event_listen().

◆ cb_cls

void* GNUNET_DB_EventHandler::cb_cls

Closure for cb.

Definition at line 48 of file pq_event.c.

Referenced by do_notify(), event_timeout(), and GNUNET_PQ_event_listen().

◆ db

struct GNUNET_PQ_Context* GNUNET_DB_EventHandler::db

Database context this event handler is with.

Definition at line 53 of file pq_event.c.

Referenced by GNUNET_PQ_event_listen(), and GNUNET_PQ_event_listen_cancel().

◆ timeout_task

struct GNUNET_SCHEDULER_Task* GNUNET_DB_EventHandler::timeout_task

Task to run on timeout.

Definition at line 58 of file pq_event.c.

Referenced by event_timeout(), GNUNET_PQ_event_listen(), and GNUNET_PQ_event_listen_cancel().


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