|
|
1.1 root 1: #include "quipu/util.h"
2: #include "quipu/name.h"
3:
4: extern int oidformat;
5: AttributeType last_at;
6:
7: AttrT_print (ps,x,format)
8: register PS ps;
9: register AttributeType x;
10: register int format;
11: {
12: char * attr2name_aux();
13:
14: if (x == NULLAttrT) {
15: ps_print(ps,"Unknown Type");
16: return;
17: }
18:
19: last_at = x;
20:
21: if (format == READOUT)
22: ps_printf (ps,"%s",attr2name (x,oidformat));
23: else
24: ps_printf (ps,"%s",attr2name_aux (x));
25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.