# LinkCel

Links two cels

### Synopsis

`void LinkCel (CCB *ccb, CCB *nextCCB)`

### Description

Links nextCCB to ccb by setting ccb's NextPtr field to nextCCB, turning off the CCB_Last flag in the ccb's ccb_Flags field by setting CCB_Last to NULL.

This function does not splice nextCCB into an existing list. It only replaces value of ccb_NextPtr in ccb to point to nextCCB.

### Arguments

ccb
  Pointer to the CCB being linked.

nextCCB
  Pointer to the CCB being added to the list.

### Associated Files

lib3do.lib, celutils.h