Diff for /libaitpelco/src/set.c between versions 1.3 and 1.4

version 1.3, 2012/07/22 22:21:50 version 1.4, 2013/05/30 09:20:16
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 53  SUCH DAMAGE. Line 53  SUCH DAMAGE.
  * @cmd[2] = Output Commands 1 & 2   * @cmd[2] = Output Commands 1 & 2
  * return: 0xFF - error, 0 - ok   * return: 0xFF - error, 0 - ok
  */   */
inline u_charu_char
 pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd2 cmd2, u_char * __restrict cmd)  pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd2 cmd2, u_char * __restrict cmd)
 {  {
         u_char ret = 0;          u_char ret = 0;
Line 76  pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd Line 76  pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd
  * @cmd[2] = Output Commands 1 & 2   * @cmd[2] = Output Commands 1 & 2
  * return: 0xFF - error, 0 - ok   * return: 0xFF - error, 0 - ok
  */   */
inline u_charu_char
 pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd2 cmd2, u_char * __restrict cmd)  pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd2 cmd2, u_char * __restrict cmd)
 {  {
         u_char ret = 0;          u_char ret = 0;
Line 101  pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd Line 101  pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd
  * @p = Output Packet structure   * @p = Output Packet structure
  * return: 0xFF - error, 0 - ok   * return: 0xFF - error, 0 - ok
  */   */
inline u_charu_char
 pelco_SetCamCmdData(u_char ver, u_char cam, u_char * __restrict cmd,   pelco_SetCamCmdData(u_char ver, u_char cam, u_char * __restrict cmd, 
                 u_char * __restrict data, void * __restrict p)                  u_char * __restrict data, void * __restrict p)
 {  {

Removed from v.1.3  
changed lines
  Added in v.1.4


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