summaryrefslogtreecommitdiff
path: root/include/types.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-08-21 19:11:32 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-08-21 19:25:51 -0500
commit038251eac50dd7ae2d6b640890bbe948664910d9 (patch)
tree2be41c99841d52c22492ed38f7d98bac2485c841 /include/types.h
parent6ac46cee4f90346e588f37077d11f0f701039e9a (diff)
Introduce the Modem driver API
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 7f99f80c..6a9681d0 100644
--- a/include/types.h
+++ b/include/types.h
@@ -26,6 +26,16 @@
extern "C" {
#endif
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
+typedef int ofono_bool_t;
+
/* MCC is always three digits. MNC is either two or three digits */
#define OFONO_MAX_MCC_LENGTH 3
#define OFONO_MAX_MNC_LENGTH 3