Linked Lists

  #include <vv_sys.h>
   
void nd_del (NODEPTR ndp)

Deletes the specified node in the generic linked list

NODEPTR nd_first (NODEPTR hdndp)

Returns a pointer to the first node in the linked list

NODEPTR nd_inithd ( )

Initializes a generic linked list

NODEPTR nd_ins (NODEPTR prev_ndp, UINT dsize)

Allocates memory for and installs a new node in a generic linked list

NODEPTR nd_last (NODEPTR hdndp)

Returns a pointer to the last node in the linked list

NODEPTR nd_next (NODEPTR ndp)

Returns a pointer to the next node in the linked list

NODEPTR nd_numptr (int nd_num, NODEPTR hdndp)

Converts the number of a node to its pointer

NODEPTR nd_prev (NODEPTR ndp)

Returns a pointer to the previous node in the linked list

int nd_ptrnum (NODEPTR ndp, NODEPTR hdndp)

Converts the node pointer to the number of the node in the linked list



Home Contents Previous Next