*
* Connection Manager
*
- * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
typedef void (* modem_cb_t) (const char *buf, void *user_data);
+int modem_add_callback(struct modem_data *modem, const char *command,
+ modem_cb_t function, void *user_data);
+
int modem_command(struct modem_data *modem,
modem_cb_t callback, void *user_data,
const char *command, const char *format, ...);