summaryrefslogtreecommitdiff
path: root/include/libgsmd/event.h
blob: d7faa9bbad44e4c63c54d1ba2d2aa98c01a97145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _LIBGSMD_EVENT_H
#define _LIBGSMD_EVENT_H

#include <gsmd/event.h>

/* Prototype of libgsmd callback handler function */
typedef int evt_cb_func(struct lgsm_handle *lh, enum gsmd_events evt, 
			void *user);

/* Register an event callback handler with libgsmd */
extern int lgsm_register_evt_cb(struct lgsm_handle *lh, 
				evt_cb_func *cb, void *user);

#endif
personal git repositories of Harald Welte. Your mileage may vary