NeoMutt  2020-06-26-89-g172cd3
Teaching an old dog new tricks
NotifyCallback Struct Reference

Data passed to a notification function. More...

#include "observer.h"

Data Fields

enum NotifyType event_type
 Send: Event type, e.g. NT_ACCOUNT. More...
int event_subtype
 Send: Event subtype, e.g. NT_ACCOUNT_ADD. More...
void * event_data
 Data from notify_send() More...
void * global_data
 Data from notify_observer_add() More...

Detailed Description

Data passed to a notification function.

Definition at line 39 of file observer.h.

Field Documentation

◆ event_type

enum NotifyType NotifyCallback::event_type

Send: Event type, e.g. NT_ACCOUNT.

Definition at line 41 of file observer.h.

◆ event_subtype

int NotifyCallback::event_subtype

Send: Event subtype, e.g. NT_ACCOUNT_ADD.

Definition at line 42 of file observer.h.

◆ event_data

void* NotifyCallback::event_data

Data from notify_send()

Definition at line 43 of file observer.h.

◆ global_data

void* NotifyCallback::global_data

Data from notify_observer_add()

Definition at line 44 of file observer.h.

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