ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / Examples / common / com_server.h
diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/Examples/common/com_server.h b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/Examples/common/com_server.h
new file mode 100644 (file)
index 0000000..601aff8
--- /dev/null
@@ -0,0 +1,23 @@
+// ----------------------------------------------
+//
+//  Author : <sylvain.gaeremynck@parrot.fr>
+//  Date   : 15/01/2007
+//
+//  Parrot Video SDK : Examples/common
+//
+// ----------------------------------------------
+
+#ifndef _COM_SERVER_H_
+#define _COM_SERVER_H_
+
+#include <VP_Os/vp_os_types.h>
+#include <Com/com.h>
+
+C_RESULT init_com_server(void);
+C_RESULT run_com_server(COM_PROTOCOL protocol);
+C_RESULT shutdown_com_server(void);
+
+C_RESULT read_server(int8_t* buffer, int32_t* size);
+C_RESULT write_server(const int8_t* buffer, int32_t* size);
+
+#endif // _COM_SERVER_H_