summaryrefslogtreecommitdiff
path: root/src/server/ep.h
blob: e583c0542ce93775989283f42bbffcafb691c3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ISC license. */

#ifndef S6RCD_EP_H
#define S6RCD_EP_H

#include <stdint.h>

#include "event.h"


 /* Event processor: the dynamic part */

typedef void ep_func_t (event_t const *, uint32_t, void *) ;
typedef ep_func_t *ep_func_t_ref ;

extern void ep_free (void) ;
extern int ep_add (uint8_t, char const *, uint32_t, ep_func_t_ref, void *) ;
extern void ep_delete (uint8_t, char const *, uint32_t, ep_func_t_ref, void *) ;
extern void ep_run (event_t const *) ;

#endif