From 4f545152099a4e2092dae91270278ff4aa51d9c5 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 10 May 2009 22:55:11 -0700 Subject: Add skeleton for AT modem driver plugin --- drivers/atmodem/main.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 drivers/atmodem/main.c (limited to 'drivers/atmodem/main.c') 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 +#endif + +#define OFONO_API_SUBJECT_TO_CHANGE +#include +#include + +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) -- cgit v1.2.3