diff options
Diffstat (limited to 'src/gsmd/atcmd.h')
-rw-r--r-- | src/gsmd/atcmd.h | 4 |
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); |