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 a

⟦276658a2c⟧ TextFile

    Length: 751 (0x2ef)
    Types: TextFile
    Names: »avs_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/avs_print.c« 

TextFile

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

static AV_Sequence eptr;
#define foreach(a)      for(eptr = a; eptr != NULLAV; eptr = eptr->avseq_next)

avs_comp_print (ps,avs,format)
AV_Sequence  avs;
PS   ps;
int  format;
{
	AttrV_print (ps,&avs->avseq_av,format);
}

avs_print (ps,avs,format)
AV_Sequence  avs;
PS   ps;
int  format;
{
	if (avs == NULLAV) {
		ps_print (ps,"\n");
		return;
	}

	avs_print_aux (ps,avs,format," & ");
	ps_print (ps,"\n");
}

avs_print_aux (ps,avs,format,sep)
AV_Sequence  avs;
PS   ps;
int  format;
char *sep;
{
	if (avs == NULLAV)
		return;

	avs_comp_print (ps,avs,format);
	if (avs->avseq_next != NULLAV)
		foreach (avs->avseq_next) {
			ps_print (ps,sep);
			AttrV_print (ps,&eptr->avseq_av,format);
			}
}