signal.h
Go to the documentation of this file.
1 #ifndef NVIM_EVENT_SIGNAL_H
2 #define NVIM_EVENT_SIGNAL_H
3 
4 #include <uv.h>
5 
6 #include "nvim/event/loop.h"
7 
9 typedef void (*signal_cb)(SignalWatcher *watcher, int signum, void *data);
10 typedef void (*signal_close_cb)(SignalWatcher *watcher, void *data);
11 
13  uv_signal_t uv;
14  void *data;
18 };
19 
20 #ifdef INCLUDE_GENERATED_DECLARATIONS
21 # include "event/signal.h.generated.h"
22 #endif
23 #endif // NVIM_EVENT_SIGNAL_H
void * data
Definition: signal.h:14
Definition: signal.h:12
MultiQueue * events
Definition: signal.h:17
void(* signal_cb)(SignalWatcher *watcher, int signum, void *data)
Definition: signal.h:9
uv_signal_t uv
Definition: signal.h:13
void(* signal_close_cb)(SignalWatcher *watcher, void *data)
Definition: signal.h:10
signal_cb cb
Definition: signal.h:15
Definition: multiqueue.c:73
signal_close_cb close_cb
Definition: signal.h:16