* Sebastian Hammer, Adam Dickmeiss
*
* $Log: odr.c,v $
- * Revision 1.3 1995-03-07 10:21:31 quinn
+ * Revision 1.4 1995-03-07 13:16:13 quinn
+ * Fixed bug in odr_reset
+ *
+ * Revision 1.3 1995/03/07 10:21:31 quinn
* odr_errno-->odr_error
*
* Revision 1.2 1995/03/07 10:19:05 quinn
fprintf(stderr, "%s: %s\n", message, odr_errlist[o->error]);
}
-int odr_error(ODR o)
+int odr_geterror(ODR o)
{
return o->error;
}
void odr_reset(ODR o)
{
o->error = ONONE;
- o->bp = 0;
+ o->bp = o->buf;
o->left = o->buflen;
o->t_class = -1;
o->t_tag = -1;