summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/gsmd.h1
-rw-r--r--include/libgsmd/libgsmd.h1
2 files changed, 2 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;
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);
personal git repositories of Harald Welte. Your mileage may vary