ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / Examples / common / com_server.h
1 // ----------------------------------------------
2 //
3 //  Author : <sylvain.gaeremynck@parrot.fr>
4 //  Date   : 15/01/2007
5 //
6 //  Parrot Video SDK : Examples/common
7 //
8 // ----------------------------------------------
9
10 #ifndef _COM_SERVER_H_
11 #define _COM_SERVER_H_
12
13 #include <VP_Os/vp_os_types.h>
14 #include <Com/com.h>
15
16 C_RESULT init_com_server(void);
17 C_RESULT run_com_server(COM_PROTOCOL protocol);
18 C_RESULT shutdown_com_server(void);
19
20 C_RESULT read_server(int8_t* buffer, int32_t* size);
21 C_RESULT write_server(const int8_t* buffer, int32_t* size);
22
23 #endif // _COM_SERVER_H_