Diff for /libelwix/inc/elwix/apack.h between versions 1.8.2.5 and 1.8.2.7

version 1.8.2.5, 2014/02/13 14:58:55 version 1.8.2.7, 2014/02/17 14:35:23
Line 67  typedef struct tagRawPacket { Line 67  typedef struct tagRawPacket {
 #define RPACK_REWIND(x)         (assert((x)), (x)->r_next = (x)->r_buf)  #define RPACK_REWIND(x)         (assert((x)), (x)->r_next = (x)->r_buf)
 #define RPACK_OFF(x)            (assert((x)), (x)->r_next - (x)->r_buf)  #define RPACK_OFF(x)            (assert((x)), (x)->r_next - (x)->r_buf)
 #define RPACK_REMAIN(x)         (assert((x)), (x)->r_len - ((x)->r_next - (x)->r_buf))  #define RPACK_REMAIN(x)         (assert((x)), (x)->r_len - ((x)->r_next - (x)->r_buf))
   #define RPACK_EOF(x)            (assert((x)), (size_t) ((x)->r_next - (x)->r_buf) >= (x)->r_len)
   
 #define RPACK_SET_16(x, n)      do { assert((x)); \  #define RPACK_SET_16(x, n)      do { assert((x)); \
                                         *((uint8_t *) (x) + 1) = *((const uint8_t *) (n) + 1); \                                          *((uint8_t *) (x) + 1) = *((const uint8_t *) (n) + 1); \
Line 161  uint8_t *rpack_align_and_reserve(rpack_t * __restrict  Line 162  uint8_t *rpack_align_and_reserve(rpack_t * __restrict 
  * rpack_next() - Get and set current position   * rpack_next() - Get and set current position
  *   *
  * @rp = raw packet   * @rp = raw packet
 * @after_len = !=0 move current position after length * @after_len = move aligned current position after length
  * return: NULL error or current position   * return: NULL error or current position
  */   */
 uint8_t *rpack_next(rpack_t * __restrict rp, size_t after_len);  uint8_t *rpack_next(rpack_t * __restrict rp, size_t after_len);
   /*
    * rpack_rnext() - Get and set raw current position
    *
    * @rp = raw packet
    * @after_len = !=0 move current position after length
    * return: NULL error or raw current position
    */
   uint8_t *rpack_rnext(rpack_t * __restrict rp, size_t after_len);
   
 /*  /*
  * rpack_create() - Allocate & init raw packet structure   * rpack_create() - Allocate & init raw packet structure

Removed from v.1.8.2.5  
changed lines
  Added in v.1.8.2.7


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