From 9deaa6e70f62aaa71e3b72f4c4967e30dac8d204 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 2 Sep 2009 03:19:02 -0700 Subject: Add initial plugin for Ericsson MBM devices --- plugins/chat.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 plugins/chat.h (limited to 'plugins/chat.h') diff --git a/plugins/chat.h b/plugins/chat.h new file mode 100644 index 00000000..a9c2902b --- /dev/null +++ b/plugins/chat.h @@ -0,0 +1,29 @@ +/* + * + * 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 + * + */ + +#include +#include + +typedef void (*chat_callback_t)(GAtChat *chat, gpointer user_data); + +int chat_connect(const char *device, chat_callback_t callback, + gpointer user_data); +void chat_disconnect(GAtChat *chat); -- cgit v1.2.3