Forked UAVSRV to background. Main program wait for exit and keeps retarting the child forever (part of the FAIL SAFE).
Added option to give video servers URLs.
Added PDATAMAX for packet max data len.
Added declaration of videos servers in uavsrv_start(). Added handler for Ack packets.
Added state state REGISTERED to uav: when hello accepted by central station.
Added main receiving loop in uavsrv_run().
Fixed missing/wrong Doxygen descriptions.
Added option info to give the info string to register in the central DB for the UAV.
Added use of params's info string in uavsrv_start for hello. Removed default values.
Added syslog new ids received from central station.
Fixed when inserting packet in ackqueue, setting next field to NULL.
Fixed in uavsrv_start(): call to handler for helloFromCentral + call to packetfree.
Fixed in dcp_hello and dcp_videos, struct dcp_packet_s is now allocated on heap by dcp_packetnew() as it is meant to be stored in the ackqueue.
Fixed dcp_waitone(): use of a new structure timeval as select modifies the one given as an argument.
Fixed bad computation for elapsed time since UAV start (used for timestamp): now uses difftime().
Fixed packet from ackqueue not deleted nor freed when found.
Fixed in dcp_send changed size of buffer to PDATAMAX+4.
Fixed ackqueue_delete SIG fault.
Fixed NULL dstaddr field in packet when returning from select() in dcp_waitone: forgot to initialized the dstaddrlen to sizeof struct sockaddr_storage.
In dcp_packetnew(): dstaddrlen is initialized to the size of struct sockaddr_storage (= dstaddr). dcp_waitone uses dcp_packetnew() instead of direct malloc.