~awe/phablet-extras/ofono-lp1188404

« back to all changes in this revision

Viewing changes to gril/gfunc.h

  • Committer: Tarmac
  • Author(s): Tony Espy
  • Date: 2013-04-11 01:00:53 UTC
  • mfrom: (27.1.8 ofono-raring)
  • Revision ID: tarmac-20130411010053-u5x1792w0e3r62l4
Re-based ofono/RILD code on new upstream version ofono-1.12-0ubuntu2b1 from Raring.
.

Approved by Ricardo Salveti, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *
 
3
 *  RIL library with GLib integration
 
4
 *
 
5
 *  Copyright (C) 2008-2011  Intel Corporation. All rights reserved.
 
6
 *  Copyright (C) 2012  Canonical Ltd.
 
7
 *
 
8
 *  This program is free software; you can redistribute it and/or modify
 
9
 *  it under the terms of the GNU General Public License version 2 as
 
10
 *  published by the Free Software Foundation.
 
11
 *
 
12
 *  This program is distributed in the hope that it will be useful,
 
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 *  GNU General Public License for more details.
 
16
 *
 
17
 *  You should have received a copy of the GNU General Public License
 
18
 *  along with this program; if not, write to the Free Software
 
19
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
20
 *
 
21
 */
 
22
 
 
23
#ifndef __GFUNC_H
 
24
#define __GFUNC_H
 
25
 
 
26
#include <glib.h>
 
27
 
 
28
#ifdef __cplusplus
 
29
extern "C" {
 
30
#endif
 
31
 
 
32
typedef void (*GRilDisconnectFunc)(gpointer user_data);
 
33
typedef void (*GRilReceiveFunc)(const unsigned char *data, gsize size,
 
34
                                                        gpointer user_data);
 
35
typedef void (*GRilDebugFunc)(const char *str, gpointer user_data);
 
36
typedef void (*GRilSuspendFunc)(gpointer user_data);
 
37
 
 
38
#ifdef __cplusplus
 
39
}
 
40
#endif
 
41
 
 
42
#endif /* __GFUNC_H */