diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-07-27 22:13:27 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-07-27 22:13:27 +0200 |
commit | c9632f9817714b58f4ea842acd34b6351ede1446 (patch) | |
tree | 4a681c23baabc2a4e1d927539665e54fa1da2abe /drivers/dunmodem | |
parent | 3180a4f5b14c954572a49e026c86bf261fdf20d8 (diff) | |
download | ofono-c9632f9817714b58f4ea842acd34b6351ede1446.tar.bz2 |
dunmodem: Add skeleton for dialup modem driver
Diffstat (limited to 'drivers/dunmodem')
-rw-r--r-- | drivers/dunmodem/dunmodem.c | 46 | ||||
-rw-r--r-- | drivers/dunmodem/dunmodem.h | 22 |
2 files changed, 68 insertions, 0 deletions
diff --git a/drivers/dunmodem/dunmodem.c b/drivers/dunmodem/dunmodem.c new file mode 100644 index 00000000..b1ac2aca --- /dev/null +++ b/drivers/dunmodem/dunmodem.c @@ -0,0 +1,46 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2011 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 + +#include <glib.h> +#include <gatchat.h> + +#define OFONO_API_SUBJECT_TO_CHANGE +#include <ofono/plugin.h> +#include <ofono/types.h> + +#include "dunmodem.h" + +static int dunmodem_init(void) +{ + return 0; +} + +static void dunmodem_exit(void) +{ +} + +OFONO_PLUGIN_DEFINE(dunmodem, "Dialup modem driver", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, + dunmodem_init, dunmodem_exit) diff --git a/drivers/dunmodem/dunmodem.h b/drivers/dunmodem/dunmodem.h new file mode 100644 index 00000000..90deb948 --- /dev/null +++ b/drivers/dunmodem/dunmodem.h @@ -0,0 +1,22 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2011 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 + * + */ + +#include <drivers/atmodem/atutil.h> |