util/yaz-illclient.c
void append_nameval (struct prog_args *args, struct nameval *nv) {
    if (!nv)
        return;
    if (args->namevals) {
        nv->next=args->namevals->next; /* first */
        args->namevals->next=nv;
        args->namevals=nv;
    } else {
        nv->next=nv;
        args->namevals=nv;
    }
}
/** \brief append nv to the list of namevals */
\brief append nv to the list of namevals
\ brief append nv to the list of namevals
void append_nameval (struct prog_args *args, struct nameval *nv) {
    if (!nv)
        return;
    if (args->namevals) {
        nv->next=args->namevals->next; 
        args->namevals->next=nv;
        args->namevals=nv;
    } else {
        nv->next=nv;
        args->namevals=nv;
    }
}
void append_nameval ( struct prog_args * args , struct nameval * nv ) { if ( ! nv ) return ; if ( args -> namevals ) { nv -> next = args -> namevals -> next ; args -> namevals -> next = nv ; args -> namevals = nv ; } else { nv -> next = nv ; args -> namevals = nv ; } }
\brief append nv to the list of namevals
\ brief append nv to the list of namevals
/* first */