DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦17b075de3⟧ TextFile

    Length: 587 (0x24b)
    Types: TextFile
    Names: »dn_print.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/dsap/common/dn_print.c« 

TextFile

#include "quipu/util.h"
#include "quipu/name.h"

dn_print (ps,dn,format)
DN  dn;
PS   ps;
int  format;
{
register DN eptr;

	if (dn == NULLDN) {
		if (format == READOUT)
			ps_print (ps,"NULL DN");
		return ;
	}

	dn_comp_print (ps,dn,format);
	if (dn->dn_parent != NULLDN)
		for (eptr = dn->dn_parent; eptr != NULLDN; eptr = eptr->dn_parent) {
			switch (format) {
				case DIROUT:  ps_print (ps,"/"); break;
				case FILEOUT:
				case RDNOUT:
				case EDBOUT:  ps_print (ps,"@"); break;
				case READOUT: ps_print (ps,"\n\t\t\t"); break;
			}
			dn_comp_print (ps,eptr,format);
		}
}