~cyphermox/ubuntu/natty/ofono/release-0.41

« back to all changes in this revision

Viewing changes to gisi/pep.h

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-02-11 02:17:20 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: mathieu-tl@ubuntu.com-20110211021720-cvxc3erw1keomunj
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *
20
20
 */
21
21
 
 
22
#ifndef __GISI_PEP_H
 
23
#define __GISI_PEP_H
 
24
 
 
25
#include "modem.h"
 
26
 
 
27
#ifdef __cplusplus
 
28
extern "C" {
 
29
#endif
 
30
 
22
31
typedef struct _GIsiPEP GIsiPEP;
23
32
typedef void (*GIsiPEPCallback)(GIsiPEP *pep, void *opaque);
24
33
 
25
 
GIsiPEP *g_isi_pep_create(GIsiModem *modem, GIsiPEPCallback, void *);
 
34
GIsiPEP *g_isi_pep_create(GIsiModem *modem, GIsiPEPCallback cb, void *data);
26
35
void g_isi_pep_destroy(GIsiPEP *pep);
27
36
uint16_t g_isi_pep_get_object(const GIsiPEP *pep);
28
37
unsigned g_isi_pep_get_ifindex(const GIsiPEP *pep);
29
38
char *g_isi_pep_get_ifname(const GIsiPEP *pep, char *ifname);
 
39
 
 
40
#ifdef __cplusplus
 
41
}
 
42
#endif
 
43
 
 
44
#endif /* __GISI_PEP_H */