summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-04-22 14:40:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-10-20 23:54:00 -0700
commit14eaafacd86b6b057286c7110560a8281b1681d0 (patch)
tree92e62393b44cb373325afa28e44a6b3ef822b16f /include
parent3fa3e1e7bf8e92bd0ff6cc75d35393ce95e45587 (diff)
downloadneard-14eaafacd86b6b057286c7110560a8281b1681d0.tar.gz
neard-14eaafacd86b6b057286c7110560a8281b1681d0.tar.bz2
neard-14eaafacd86b6b057286c7110560a8281b1681d0.zip
types: Move types.h to the include directory
Diffstat (limited to 'include')
-rw-r--r--include/types.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
new file mode 100644
index 0000000..ef7fdec
--- /dev/null
+++ b/include/types.h
@@ -0,0 +1,31 @@
+/*
+ *
+ * neard - Near Field Communication manager
+ *
+ * Copyright (C) 2011 Intel 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 FALSE
+#define FALSE (0)
+#endif
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
+typedef int near_bool_t;
+