Annotation of 43BSDReno/contrib/isode-beta/dsap/common/rdn_print.c, revision 1.1.1.1

1.1       root        1: #include "quipu/util.h"
                      2: #include "quipu/name.h"
                      3: 
                      4: rdn_comp_print (ps,rdn,format)
                      5: PS   ps;
                      6: RDN  rdn;
                      7: int  format;
                      8: {
                      9: 
                     10:        if (rdn!=NULLRDN) {
                     11:                AttrT_print (ps,rdn->rdn_at,format);
                     12:                ps_print (ps,"=");
                     13:                AttrV_print (ps,&rdn->rdn_av,format);
                     14:        }
                     15:        return;
                     16: }
                     17: 
                     18: rdn_print (ps,rdn,format)
                     19: RDN  rdn;
                     20: PS   ps;
                     21: int  format;
                     22: {
                     23: register RDN eptr;
                     24: 
                     25:        if (rdn ==  NULLRDN) {
                     26:                if (format == READOUT)
                     27:                        ps_print  (ps,"NULL RDN");
                     28:                return;
                     29:        }
                     30: 
                     31:        rdn_comp_print (ps,rdn,format);
                     32: 
                     33:        if (rdn->rdn_next != NULLRDN)
                     34:                for (eptr=rdn->rdn_next; eptr!=NULLRDN; eptr=eptr->rdn_next) {
                     35:                        ps_print (ps,"%"); 
                     36:                        rdn_comp_print (ps,eptr,format);
                     37:                }
                     38: 
                     39: }
                     40: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.