Diff for /libaitpelco/inc/aitpelco.h between versions 1.1.1.1.2.1 and 1.1.1.1.2.2

version 1.1.1.1.2.1, 2010/03/11 13:39:28 version 1.1.1.1.2.2, 2010/03/12 14:57:17
Line 147  inline void *pelcoLoad(u_char *buffer); Line 147  inline void *pelcoLoad(u_char *buffer);
  */   */
 inline u_char pelcoAddCmdData(void * __restrict p, u_char * __restrict cmd, u_char * __restrict data);  inline u_char pelcoAddCmdData(void * __restrict p, u_char * __restrict cmd, u_char * __restrict data);
   
   /*
    * pelcoGetCmdData() Get from packet commands and datas with verify packet
    * @p = Input Packet structure
    * @cmd[2] = Output Commands 1 & 2
    * @data[2] = Output Data for commands 1 & 2
    * return: 'd' - PelcoD, 'p' - PelcoP, 0 - unknown or bad packet
    */
   inline u_char pelcoGetCmdData(void * __restrict p, u_char * __restrict cmd, u_char * __restrict data);
   
   
 /*  /*
  * pelco_GetVersion() Return Pelco protocol version   * pelco_GetVersion() Return Pelco protocol version
  * @p = Packet structure   * @p = Packet structure
Line 173  inline u_char pelco_GetCamNo(void * __restrict p); Line 182  inline u_char pelco_GetCamNo(void * __restrict p);
  */   */
 inline u_char pelco_GetCamCmdData(void * __restrict p, u_char * __restrict cam,   inline u_char pelco_GetCamCmdData(void * __restrict p, u_char * __restrict cam, 
                 u_char * __restrict cmd, u_char * __restrict data);                  u_char * __restrict cmd, u_char * __restrict data);
   
   
 /*  /*
  * pelco_D_toCmd() Convert to Pelco D commands   * pelco_D_toCmd() Convert to Pelco D commands

Removed from v.1.1.1.1.2.1  
changed lines
  Added in v.1.1.1.1.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>