summaryrefslogtreecommitdiff
path: root/include/gsmd/unsolicited.h
blob: e7f17c53188c656a4a1fd44cef3a0d3e939e5ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __GSMD_UNSOLICITED_H
#define __GSMD_UNSOLICITED_H

#ifdef __GSMD__

#include <gsmd/gsmd.h>

struct gsmd_unsolicit {
	const char *prefix;
	int (*parse)(char *unsol, int len, const char *param, struct gsmd *gsmd);
};

extern int unsolicited_parse(struct gsmd *g, char *buf, int len, const char *param);
extern int generate_event_from_cme(struct gsmd *g, unsigned int cme_error);

#endif /* __GSMD__ */

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