NeoMutt  2024-03-23-147-g885fbc
Teaching an old dog new tricks
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...


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


 STAILQ_HEAD (ObserverList, ObserverNode)

Detailed Description

Observer of notifications.

  • 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

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 ( ObserverList  ,