projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smallish
[yaz-moved-to-github.git]
/
odr
/
ber_tag.c
diff --git
a/odr/ber_tag.c
b/odr/ber_tag.c
index
b626f0a
..
b71acea
100644
(file)
--- a/
odr/ber_tag.c
+++ b/
odr/ber_tag.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ber_tag.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ber_tag.c,v $
- * Revision 1.12 1995-09-27 15:02:57 quinn
+ * Revision 1.13 1995-09-29 17:12:21 quinn
+ * Smallish
+ *
+ * Revision 1.12 1995/09/27 15:02:57 quinn
* Modified function heads & prototypes.
*
* Revision 1.11 1995/05/16 08:50:48 quinn
* Modified function heads & prototypes.
*
* Revision 1.11 1995/05/16 08:50:48 quinn
@@
-56,7
+59,7
@@
*
* Should perhaps be odr_tag?
*/
*
* Should perhaps be odr_tag?
*/
-int MDF ber_tag(ODR o, void *p, int class, int tag, int *constructed, int opt)
+int ber_tag(ODR o, void *p, int class, int tag, int *constructed, int opt)
{
static int lclass = -1, ltag, br, lcons; /* save t&c rather than
decoding twice */
{
static int lclass = -1, ltag, br, lcons; /* save t&c rather than
decoding twice */
@@
-134,7
+137,7
@@
int MDF ber_tag(ODR o, void *p, int class, int tag, int *constructed, int opt)
* BER-encode a class/tag/constructed package (identifier octets). Return
* number of bytes encoded, or -1 if out of bounds.
*/
* BER-encode a class/tag/constructed package (identifier octets). Return
* number of bytes encoded, or -1 if out of bounds.
*/
-int MDF ber_enctag(ODR o, int class, int tag, int constructed)
+int ber_enctag(ODR o, int class, int tag, int constructed)
{
int cons = (constructed ? 1 : 0), n = 0;
unsigned char octs[sizeof(int)], b;
{
int cons = (constructed ? 1 : 0), n = 0;
unsigned char octs[sizeof(int)], b;
@@
-174,7
+177,7
@@
int MDF ber_enctag(ODR o, int class, int tag, int constructed)
/* ber_dectag
* Decode BER identifier octets. Return number of bytes read or -1 for error.
*/
/* ber_dectag
* Decode BER identifier octets. Return number of bytes read or -1 for error.
*/
-int MDF ber_dectag(unsigned char *buf, int *class, int *tag, int *constructed)
+int ber_dectag(unsigned char *buf, int *class, int *tag, int *constructed)
{
unsigned char *b = buf;
{
unsigned char *b = buf;