~awe/phablet-extras/ofono-lp1204683

« back to all changes in this revision

Viewing changes to include/modem.h

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2009-08-15 15:55:11 UTC
  • Revision ID: james.westby@ubuntu.com-20090815155511-frst06dijguhyfi4
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *
 
3
 *  oFono - Open Source Telephony
 
4
 *
 
5
 *  Copyright (C) 2008-2009  Intel Corporation. All rights reserved.
 
6
 *
 
7
 *  This program is free software; you can redistribute it and/or modify
 
8
 *  it under the terms of the GNU General Public License version 2 as
 
9
 *  published by the Free Software Foundation.
 
10
 *
 
11
 *  This program is distributed in the hope that it will be useful,
 
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 *  GNU General Public License for more details.
 
15
 *
 
16
 *  You should have received a copy of the GNU General Public License
 
17
 *  along with this program; if not, write to the Free Software
 
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 *
 
20
 */
 
21
 
 
22
#ifndef __OFONO_MODEM_H
 
23
#define __OFONO_MODEM_H
 
24
 
 
25
#ifdef __cplusplus
 
26
extern "C" {
 
27
#endif
 
28
 
 
29
struct ofono_modem;
 
30
 
 
31
void ofono_modem_add_interface(struct ofono_modem *modem,
 
32
                                const char *interface);
 
33
 
 
34
void ofono_modem_remove_interface(struct ofono_modem *modem,
 
35
                                        const char *interface);
 
36
 
 
37
const char *ofono_modem_get_path(struct ofono_modem *modem);
 
38
 
 
39
void ofono_modem_set_userdata(struct ofono_modem *modem, void *data);
 
40
void *ofono_modem_get_userdata(struct ofono_modem *modem);
 
41
 
 
42
#ifdef __cplusplus
 
43
}
 
44
#endif
 
45
 
 
46
#endif /* __OFONO_MODEM_H */