projects
/
yaz-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f5e7d835a5369b878f48babdc30c573121cfb348
[yaz-moved-to-github.git]
/
odr_tag.c
1
/*
2
* Copyright (C) 1994, Index Data I/S
3
* All rights reserved.
4
* Sebastian Hammer, Adam Dickmeiss
5
*
6
* $Log: odr_tag.c,v $
7
* Revision 1.2 1995-03-08 12:12:31 quinn
8
* Added better error checking.
9
*
10
* Revision 1.1 1995/02/02 16:21:54 quinn
11
* First kick.
12
*
13
*/
14
15
#include <odr.h>
16
17
int odr_implicit_settag(ODR o, int class, int tag)
18
{
19
if (o->error)
20
return 0;
21
if (o->t_class < 0)
22
{
23
o->t_class = class;
24
o->t_tag = tag;
25
}
26
return 1;
27
}