NeoMutt  2024-04-25-76-g20fe7b
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
observer.h File Reference

Observer of notifications. More...

#include <stdbool.h>
#include "notify_type.h"
#include "queue.h"
+ Include dependency graph for observer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NotifyCallback
 Data passed to a notification function. More...
 
struct  Observer
 An observer of notifications. More...
 
struct  ObserverNode
 List of Observers. More...
 

Typedefs

typedef int(* observer_t) (struct NotifyCallback *nc)
 

Functions

 STAILQ_HEAD (ObserverList, ObserverNode)
 

Detailed Description

Observer of notifications.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file observer.h.

Typedef Documentation

◆ observer_t

typedef int(* observer_t) (struct NotifyCallback *nc)

Definition at line 54 of file observer.h.

Function Documentation

◆ STAILQ_HEAD()

STAILQ_HEAD ( ObserverList  ,
ObserverNode   
)