summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-16 23:49:13 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-16 23:49:13 +0200
commit706b46c794806932bc175f64babfbd9fef537b00 (patch)
tree36462bf6f984ed039d2f59d98ba46a05e236dfe6 /include
parent7513ffa07e1c26dd3190d648416ffd580619af68 (diff)
lgsm: Allow to set any user data for the gsm handle
Diffstat (limited to 'include')
-rw-r--r--include/libgsmd/libgsmd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libgsmd/libgsmd.h b/include/libgsmd/libgsmd.h
index f260ae2..a6a4252 100644
--- a/include/libgsmd/libgsmd.h
+++ b/include/libgsmd/libgsmd.h
@@ -69,4 +69,7 @@ extern int lgsm_handle_packet(struct lgsm_handle *lh, char *buf, int len);
extern int lgsm_blocking_wait_packet(struct lgsm_handle *lh, u_int16_t id,
struct gsmd_msg_hdr *gmh, int rlen);
+extern void *lgsm_get_user_data(struct lgsm_handle *lh);
+extern void lgsm_set_user_data(struct lgsm_handle *lh, void *data);
+
#endif
personal git repositories of Harald Welte. Your mileage may vary