diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-17 14:32:06 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-17 15:08:43 -0500 |
commit | d5339edc442c69c7786c276a64f3c84573b8ba2b (patch) | |
tree | 8aea8d27fe50104eb111916b77951286af8ae6b8 /src/ussd.h | |
parent | 5e957a7e3e89a7aeadbf10fedff9101e0b6ff373 (diff) | |
download | ofono-d5339edc442c69c7786c276a64f3c84573b8ba2b.tar.bz2 |
Refactor supplementary service control strings
The registration was done by using the storage in the modem. Refactored
to use the new atom watch APIs and storing the control entries in the
ussd atom itself
Diffstat (limited to 'src/ussd.h')
-rw-r--r-- | src/ussd.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/ussd.h b/src/ussd.h deleted file mode 100644 index 5f40f618..00000000 --- a/src/ussd.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * - * 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 - * - */ - -typedef gboolean (*ss_control_cb_t)(struct ofono_modem *modem, - enum ss_control_type type, - const char *sc, - const char *sia, const char *sib, - const char *sic, const char *dn, - DBusMessage *msg); - -typedef gboolean (*ss_passwd_cb_t)(struct ofono_modem *modem, const char *sc, - const char *old, const char *new, - DBusMessage *msg); - -gboolean ss_control_register(struct ofono_modem *modem, const char *str, - ss_control_cb_t cb); - -void ss_control_unregister(struct ofono_modem *modem, const char *str, - ss_control_cb_t cb); - -gboolean ss_passwd_register(struct ofono_modem *modem, const char *str, - ss_passwd_cb_t cb); - -void ss_passwd_unregister(struct ofono_modem *modem, const char *str, - ss_passwd_cb_t cb); |