diff options
Diffstat (limited to 'gisi/modem.h')
-rw-r--r-- | gisi/modem.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gisi/modem.h b/gisi/modem.h new file mode 100644 index 00000000..086fb265 --- /dev/null +++ b/gisi/modem.h @@ -0,0 +1,28 @@ +/** + * Copyright (C) 2009 Nokia 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 + */ +#ifndef GISI_MODEM_H +#define GISI_MODEM_H + +typedef struct _GIsiModem GIsiModem; + +static inline unsigned g_isi_modem_index(GIsiModem *m) +{ + return (uintptr_t)m; +} + +#endif |