|
|
BSD 4.3reno
#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);
}
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.