Lines Matching refs:cupsd_subscription_t
30 static int cupsd_compare_subscriptions(cupsd_subscription_t *first,
31 cupsd_subscription_t *second,
38 static void cupsd_send_notification(cupsd_subscription_t *sub,
40 static void cupsd_start_notifier(cupsd_subscription_t *sub);
60 cupsd_subscription_t *sub; /* Current subscription */ in cupsdAddEvent()
95 for (temp = NULL, sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdAddEvent()
97 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdAddEvent()
253 cupsd_subscription_t * /* O - New subscription object */
261 cupsd_subscription_t *temp; /* New subscription object */ 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()
341 if ((temp = calloc(1, sizeof(cupsd_subscription_t))) == NULL) in cupsdAddSubscription()
400 cupsd_subscription_t *sub; /* Subscription */ in cupsdDeleteAllSubscriptions()
406 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdDeleteAllSubscriptions()
408 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdDeleteAllSubscriptions()
422 cupsd_subscription_t *sub, /* I - Subscription object */ in cupsdDeleteSubscription()
613 cupsd_subscription_t *sub; /* Current subscription */ in cupsdExpireSubscriptions()
626 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdExpireSubscriptions()
628 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdExpireSubscriptions()
650 cupsd_subscription_t * /* O - Subscription object */
653 cupsd_subscription_t sub; /* Subscription template */ in cupsdFindSubscription()
658 return ((cupsd_subscription_t *)cupsArrayFind(Subscriptions, &sub)); in cupsdFindSubscription()
675 cupsd_subscription_t *sub; /* Current subscription */ in cupsdLoadAllSubscriptions()
1026 cupsd_subscription_t *sub; /* Current subscription */ in cupsdSaveAllSubscriptions()
1062 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdSaveAllSubscriptions()
1064 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdSaveAllSubscriptions()
1155 cupsd_subscription_t *sub; /* Current subscription */ in cupsdStopAllNotifiers()
1169 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdStopAllNotifiers()
1171 sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) in cupsdStopAllNotifiers()
1206 cupsd_subscription_t *first, /* I - First subscription object */ in cupsd_compare_subscriptions()
1207 cupsd_subscription_t *second, /* I - Second subscription object */ in cupsd_compare_subscriptions()
1321 cupsd_subscription_t *sub, /* I - Subscription object */ in cupsd_send_notification()
1443 cupsd_subscription_t *sub) /* I - Subscription object */ in cupsd_start_notifier()