/*
- * Copyright (c) 1995-2004, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: odr.h,v 1.17 2004-10-15 00:18:59 adam Exp $
+ * $Id: odr.h,v 1.19 2005-01-27 09:04:07 adam Exp $
*/
/**
int can_grow; /* are we allowed to reallocate */
unsigned char *buf; /* memory handle */
- int size; /* current buffer size */
+ int size; /* current buffer size (encoding+decoding) */
- int pos; /* current position */
- int top; /* top of buffer (max pos when decoding) */
+ int pos; /* current position (encoding) */
+ int top; /* top of buffer (max pos when encoding) */
const unsigned char *bp; /* position in buffer (decoding) */