--- libaitpelco/inc/aitpelco.h 2010/01/22 00:57:32 1.1.1.1 +++ libaitpelco/inc/aitpelco.h 2010/03/11 13:39:28 1.1.1.1.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitpelco.h,v 1.1.1.1 2010/01/22 00:57:32 misho Exp $ +* $Id: aitpelco.h,v 1.1.1.1.2.1 2010/03/11 13:39:28 misho Exp $ * *************************************************************************/ #ifndef __AITPELCO_H @@ -129,6 +129,14 @@ inline void *pelcoOpen(u_char pelcoVer, u_char camNo); * @p = Packet structure for close */ inline void pelcoClose(void * __restrict p); + +/* + * pelcoLoad() Load packet from input buffer + * @buffer = Pelco packet from input buffer + * return: NULL error, !=NULL ok, allocated memory for packet + */ +inline void *pelcoLoad(u_char *buffer); + /* * pelcoAddCmdData() Add commands and datas for already opened packet