Lines Matching refs:Subscriptions

95   for (temp = NULL, sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions);  in cupsdAddEvent()
97 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdAddEvent()
270 if (!Subscriptions) in cupsdAddSubscription()
271 Subscriptions = cupsArrayNew((cups_array_func_t)cupsd_compare_subscriptions, in cupsdAddSubscription()
274 if (!Subscriptions) in cupsdAddSubscription()
286 if (MaxSubscriptions > 0 && cupsArrayCount(Subscriptions) >= MaxSubscriptions) in cupsdAddSubscription()
291 cupsArrayCount(Subscriptions)); in cupsdAddSubscription()
299 for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), in cupsdAddSubscription()
302 temp = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdAddSubscription()
320 for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), in cupsdAddSubscription()
323 temp = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdAddSubscription()
380 cupsArrayAdd(Subscriptions, temp); in cupsdAddSubscription()
403 if (!Subscriptions) in cupsdDeleteAllSubscriptions()
406 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdDeleteAllSubscriptions()
408 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdDeleteAllSubscriptions()
411 cupsArrayDelete(Subscriptions); in cupsdDeleteAllSubscriptions()
412 Subscriptions = NULL; in cupsdDeleteAllSubscriptions()
436 cupsArrayRemove(Subscriptions, sub); in cupsdDeleteSubscription()
618 if (cupsArrayCount(Subscriptions) == 0) in cupsdExpireSubscriptions()
626 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdExpireSubscriptions()
628 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdExpireSubscriptions()
658 return ((cupsd_subscription_t *)cupsArrayFind(Subscriptions, &sub)); in cupsdFindSubscription()
1062 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdSaveAllSubscriptions()
1064 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdSaveAllSubscriptions()
1169 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdStopAllNotifiers()
1171 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdStopAllNotifiers()