This is the homepage.
do {//do...while used as there will always be at least one node
if(cl->cursor->data==NULL) {
if (cl->cursor==cursorOrigin) {
printf(">NULL<");
} else {
printf("NULL");
}
} else {
if(cl->cursor==cursorOrigin){
printf(">");
printer(cl->cursor->data);
printf("<");
} else {
printer(cl->cursor->data);
}
}
if(cl->cursor!=startPos->prev){
printf(", ");
}
cursorNext(cl);
} while (cl->cursor!=startPos);
Code