diff options
author | Marcel Holtmann <marcel.holtmann@intel.com> | 2009-05-10 22:55:11 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel.holtmann@intel.com> | 2009-05-10 22:55:11 -0700 |
commit | 4f545152099a4e2092dae91270278ff4aa51d9c5 (patch) | |
tree | 31828821098a3f4defa331df2d0148e65947dd10 /drivers/atmodem | |
parent | edfe9c7adb28d08a378d0b2982d2d001affd05b8 (diff) | |
download | ofono-4f545152099a4e2092dae91270278ff4aa51d9c5.tar.bz2 |
Add skeleton for AT modem driver plugin
Diffstat (limited to 'drivers/atmodem')
-rw-r--r-- | drivers/atmodem/main.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/atmodem/main.c b/drivers/atmodem/main.c new file mode 100644 index 00000000..1641c68a --- /dev/null +++ b/drivers/atmodem/main.c @@ -0,0 +1,43 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-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 + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#define OFONO_API_SUBJECT_TO_CHANGE +#include <ofono/plugin.h> +#include <ofono/log.h> + +static int atmodem_init(void) +{ + DBG(""); + + return 0; +} + +static void atmodem_exit(void) +{ + DBG(""); +} + +OFONO_PLUGIN_DEFINE(atmodem, "AT modem driver", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, atmodem_init, atmodem_exit) |