summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-09-27 22:42:41 +0200
committerHarald Welte <laforge@gnumonks.org>2013-09-29 14:56:44 +0200
commita72236a1d0effb1fe985f5685d40e6dc33ab65a3 (patch)
treeb4ab5e143ff7631ee53f8691ce4a713f33c3f587 /include/gsmd
parent292e73a08c3445b4aa96057e559dbcec44b0d8f7 (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/gsmd')
-rw-r--r--include/gsmd/gsmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gsmd/gsmd.h b/include/gsmd/gsmd.h
index 585d78d..47bc43d 100644
--- a/include/gsmd/gsmd.h
+++ b/include/gsmd/gsmd.h
@@ -74,6 +74,7 @@ struct gsmd;
#define GSMD_ATCMD_TIMEOUT 60 /* If doesn get respond within 60 secs, discard */
struct gsmd {
+ unsigned int instance;
unsigned int flags;
int interpreter_ready;
struct gsmd_fd gfd_uart;
personal git repositories of Harald Welte. Your mileage may vary