Diff between fd46bedda3a529fdccef36815856dcb9cc5139f9 and c45162aaec3e52df28e06f48399f1dbb9f1ffff4

Changed Files

File Additions Deletions Status
gobex/obex.h +35 -0 added

Full Patch

diff --git a/gobex/obex.h b/gobex/obex.h
new file mode 100644
index 0000000..45ef994
--- /dev/null
+++ b/gobex/obex.h
@@ -0,0 +1,35 @@
+/*
+ *
+ *  OBEX library with GLib integration
+ *
+ *  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 __OBEX_H
+#define __OBEX_H
+
+/* Opcodes */
+#define G_OBEX_OP_CONNECT	0x00
+#define G_OBEX_OP_DISCONNECT	0x01
+#define G_OBEX_OP_PUT		0x02
+#define G_OBEX_OP_GET		0x03
+#define G_OBEX_OP_SETPATH	0x05
+#define G_OBEX_OP_SESSION	0x07
+#define G_OBEX_OP_ABORT		0x7f
+#define G_OBEX_FINAL		0x80
+
+#endif /* __GOBEX_H */