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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsmd/atcmd.h b/src/gsmd/atcmd.h
index ded3f00..1e4cdfb 100644
--- a/src/gsmd/atcmd.h
+++ b/src/gsmd/atcmd.h
@@ -3,9 +3,9 @@
#include "gsmd.h"
-typedef int atcmd_cb_t(struct gsmd_atcmd *cmd, void *ctx);
+typedef int atcmd_cb_t(struct gsmd_atcmd *cmd, void *ctx, char *resp);
-struct gsmd_atcmd *atcmd_fill(const char *cmd, int rlen, atcmd_cb_t *cb, void *ctx);
+struct gsmd_atcmd *atcmd_fill(const char *cmd, int rlen, atcmd_cb_t *cb, void *ctx, u_int16_t id);
int atcmd_submit(struct gsmd *g, struct gsmd_atcmd *cmd);
int atcmd_init(struct gsmd *g, int sockfd);
void atcmd_drain(int fd);
personal git repositories of Harald Welte. Your mileage may vary