From 19eeb7f1ba7dd9de0b8190bb1b0c22dba6466fa6 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 29 Jul 2009 14:16:53 -0500 Subject: Rename modem_add_interface / modem_remove_interface Move to ofono_modem_add_interface, ofono_modem_remove_interface and put in ofono/modem.h --- include/Makefile.am | 2 +- include/modem.h | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 include/modem.h (limited to 'include') diff --git a/include/Makefile.am b/include/Makefile.am index 3ebad83f..4f63c777 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,7 +1,7 @@ includedir = @includedir@/ofono -include_HEADERS = log.h plugin.h history.h dbus.h +include_HEADERS = log.h plugin.h history.h dbus.h modem.h nodist_include_HEADERS = version.h diff --git a/include/modem.h b/include/modem.h new file mode 100644 index 00000000..047c1b46 --- /dev/null +++ b/include/modem.h @@ -0,0 +1,39 @@ +/* + * + * 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 + * + */ + +#ifndef __OFONO_MODEM_H +#define __OFONO_MODEM_H + +#ifdef __cplusplus +extern "C" { +#endif + +void ofono_modem_add_interface(struct ofono_modem *modem, + const char *interface); + +void ofono_modem_remove_interface(struct ofono_modem *modem, + const char *interface); + +#ifdef __cplusplus +} +#endif + +#endif /* __OFONO_MODEM_H */ -- cgit v1.2.3