Lines Matching defs:cbl
701 CallbackListPtr cbl = *pcbl;
704 for (pcbr = NULL, cbr = cbl->list;
713 if (cbl->inCallback)
715 ++(cbl->numDeleted);
721 cbl->list = cbr->next;
736 CallbackListPtr cbl = *pcbl;
739 ++(cbl->inCallback);
740 for (cbr = cbl->list; cbr != NULL; cbr = cbr->next)
744 --(cbl->inCallback);
746 if (cbl->inCallback) return;
750 if (cbl->deleted)
760 if (cbl->numDeleted)
762 for (pcbr = NULL, cbr = cbl->list; (cbr != NULL) && cbl->numDeleted; )
774 free(cbl->list);
775 cbl->list = cbr;
777 cbl->numDeleted--;
792 CallbackListPtr cbl = *pcbl;
796 if (cbl->inCallback)
798 cbl->deleted = TRUE;
811 for (cbr = cbl->list; cbr != NULL; cbr = nextcbr)
816 free(cbl);
823 CallbackListPtr cbl;
827 cbl = malloc(sizeof(CallbackListRec));
828 if (!cbl) return FALSE;
829 cbl->inCallback = 0;
830 cbl->deleted = FALSE;
831 cbl->numDeleted = 0;
832 cbl->list = NULL;
833 *pcbl = cbl;