summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/at.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/at.h')
-rw-r--r--drivers/atmodem/at.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/drivers/atmodem/at.h b/drivers/atmodem/at.h
index 7d307a1d..c57069bb 100644
--- a/drivers/atmodem/at.h
+++ b/drivers/atmodem/at.h
@@ -19,34 +19,7 @@
*
*/
-void decode_at_error(struct ofono_error *error, const char *final);
-void dump_response(const char *func, gboolean ok, GAtResult *result);
-
-struct cb_data {
- void *cb;
- void *data;
- void *user;
-};
-
-static inline struct cb_data *cb_data_new(void *cb, void *data)
-{
- struct cb_data *ret;
-
- ret = g_try_new0(struct cb_data, 1);
-
- if (!ret)
- return ret;
-
- ret->cb = cb;
- ret->data = data;
-
- return ret;
-}
-
-#define DECLARE_FAILURE(e) \
- struct ofono_error e; \
- e.type = OFONO_ERROR_TYPE_FAILURE; \
- e.error = 0 \
+#include "atutil.h"
extern void at_netreg_init();
extern void at_netreg_exit();