summaryrefslogtreecommitdiff
path: root/src/gsmd/atcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsmd/atcmd.h')
-rw-r--r--src/gsmd/atcmd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gsmd/atcmd.h b/src/gsmd/atcmd.h
new file mode 100644
index 0000000..f6b9d1d
--- /dev/null
+++ b/src/gsmd/atcmd.h
@@ -0,0 +1,12 @@
+#ifndef __GSMD_ATCMD_H
+#define __GSMD_ATCMD_H
+
+#include "gsmd.h"
+
+typedef int atcmd_cb_t(struct gsmd_atcmd *cmd, void *ctx);
+
+struct gsmd_atcmd *atcmd_fill(const char *cmd, int rlen, atcmd_cb_t *cb, void *ctx);
+int atcmd_submit(struct gsmd *g, struct gsmd_atcmd *cmd);
+int atcmd_init(struct gsmd *g, int sockfd);
+
+#endif
personal git repositories of Harald Welte. Your mileage may vary