First kick.
[yaz-moved-to-github.git] / odr / 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.1  1995-02-02 16:21:54  quinn
8  * First kick.
9  *
10  */
11
12 #include <odr.h>
13
14 int odr_implicit_settag(ODR o, int class, int tag)
15 {
16     if (o->t_class < 0)
17     {
18         o->t_class = class;
19         o->t_tag = tag;
20     }
21     return 1;
22 }