diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-09-27 22:42:41 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-09-29 14:56:44 +0200 |
commit | a72236a1d0effb1fe985f5685d40e6dc33ab65a3 (patch) | |
tree | b4ab5e143ff7631ee53f8691ce4a713f33c3f587 /include/libgsmd | |
parent | 292e73a08c3445b4aa96057e559dbcec44b0d8f7 (diff) |
permit gsmd and libgsm to handle multiple instances
By using differntly-named unix domain sockets, we can run
multiple gsmd instances in parallel.
Diffstat (limited to 'include/libgsmd')
-rw-r--r-- | include/libgsmd/libgsmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libgsmd/libgsmd.h b/include/libgsmd/libgsmd.h index a6a4252..3fce0f0 100644 --- a/include/libgsmd/libgsmd.h +++ b/include/libgsmd/libgsmd.h @@ -49,6 +49,7 @@ typedef int lgsm_msg_handler(struct lgsm_handle *lh, struct gsmd_msg_hdr *gmh); /* initialize usage of libgsmd, obtain handle for othe API calls */ extern struct lgsm_handle *lgsm_init(const char *device); +extern struct lgsm_handle *lgsm_init_inst(unsigned int instance); /* Terminate usage of libgsmd */ extern int lgsm_exit(struct lgsm_handle *lh); |