Lines Matching refs:cups_dest_t
116 cups_dest_t dest; /* Destination record */
129 cups_dest_t *dests; /* Destinations */
135 cups_dest_t *dest; /* Destination */
154 static cups_dest_t *cups_add_dest(const char *name, const char *instance,
155 int *num_dests, cups_dest_t **dests);
158 cups_dest_t *dest);
160 static int cups_compare_dests(cups_dest_t *a, cups_dest_t *b);
225 static const char *cups_dnssd_resolve(cups_dest_t *dest, const char *uri,
235 int num_dests, cups_dest_t *dests, int prev,
237 static int cups_get_cb(_cups_getdata_t *data, unsigned flags, cups_dest_t *dest);
242 int num_dests, cups_dest_t **dests);
245 static int cups_name_cb(_cups_namedata_t *data, unsigned flags, cups_dest_t *dest);
268 cups_dest_t **dests) /* IO - Destinations */ in cupsAddDest()
271 cups_dest_t *dest; /* Destination pointer */ in cupsAddDest()
272 cups_dest_t *parent = NULL; /* Parent destination */ in cupsAddDest()
596 cups_dest_t *dest, /* I - Destination */ in cupsConnectDest()
784 cups_dest_t *dest, /* I - Destination */ in cupsConnectDestBlock()
809 cupsCopyDest(cups_dest_t *dest, /* I - Destination to copy */ in cupsCopyDest()
811 cups_dest_t **dests) /* IO - Destination array */ in cupsCopyDest()
814 cups_dest_t *new_dest; /* New destination pointer */ in cupsCopyDest()
1030 cups_dest_t *dests) /* I - Destinations */ in cupsFreeDests()
1033 cups_dest_t *dest; /* Current destination */ in cupsFreeDests()
1058 cups_dest_t * /* O - Destination pointer or @code NULL@ */
1062 cups_dest_t *dests) /* I - Destinations */ in cupsGetDest()
1108 cups_dest_t *dest, /* I - Destination */ in _cupsGetDestResource()
1206 cups_dest_t * /* O - Destination or @code NULL@ */
1210 cups_dest_t *dest; /* New destination */ in cupsGetDestWithURI()
1285 if ((dest = calloc(1, sizeof(cups_dest_t))) == NULL) in cupsGetDestWithURI()
1327 cups_dest_t **dests, /* IO - Destinations */ in _cupsGetDests()
1332 cups_dest_t *dest; /* Current destination */ in _cupsGetDests()
1600 cupsGetDests(cups_dest_t **dests) /* O - Destinations */ in cupsGetDests()
1631 cups_dest_t **dests) /* O - Destinations */ in cupsGetDests2()
1634 cups_dest_t *dest; /* Current destination */ in cupsGetDests2()
1642 cups_dest_t *reals; /* Real queues */ in cupsGetDests2()
1706 reals = calloc((size_t)num_reals, sizeof(cups_dest_t)); in cupsGetDests2()
1709 memcpy(reals, data.dests, (size_t)num_reals * sizeof(cups_dest_t)); in cupsGetDests2()
1836 cups_dest_t * /* O - Destination or @code NULL@ */
1842 cups_dest_t *dest; /* Destination */ in cupsGetNamedDest()
1983 cups_dest_t **dests) /* IO - Destinations */ in cupsRemoveDest()
1986 cups_dest_t *dest; /* Pointer to destination */ in cupsRemoveDest()
2013 memmove(dest, dest + 1, (size_t)(num_dests - i) * sizeof(cups_dest_t)); in cupsRemoveDest()
2030 cups_dest_t *dests) /* I - Destinations */ in cupsSetDefaultDest()
2033 cups_dest_t *dest; /* Current destination */ in cupsSetDefaultDest()
2067 cups_dest_t *dests) /* I - Destinations */ in cupsSetDests()
2085 cups_dest_t *dests) /* I - Destinations */ in cupsSetDests2()
2089 cups_dest_t *dest; /* Current destination */ in cupsSetDests2()
2098 cups_dest_t *temps = NULL, /* Temporary destinations */ in cupsSetDests2()
2542 static cups_dest_t * /* O - New destination */
2546 cups_dest_t **dests) /* IO - Destinations */ in cups_add_dest()
2550 cups_dest_t *dest; /* Destination pointer */ in cups_add_dest()
2558 dest = malloc(sizeof(cups_dest_t)); in cups_add_dest()
2560 dest = realloc(*dests, sizeof(cups_dest_t) * (size_t)(*num_dests + 1)); in cups_add_dest()
2587 …memmove(*dests + insert + 1, *dests + insert, (size_t)(*num_dests - insert) * sizeof(cups_dest_t)); in cups_add_dest()
2615 cups_dest_t *dest) /* I - Destination */ in cups_block_cb()
2627 cups_compare_dests(cups_dest_t *a, /* I - First destination */ in cups_compare_dests()
2628 cups_dest_t *b) /* I - Second destination */ in cups_compare_dests()
3383 cups_dest_t *dest, /* I - Destination */
3548 cups_dest_t *dests = NULL, /* Destinations */
3986 cups_dest_t *dests, /* I - Destinations */
3994 cups_dest_t key; /* Search key */
4088 cups_dest_t *dest) /* I - Destination */
4171 cups_dest_t **dests) /* IO - Destinations */
4174 cups_dest_t *dest; /* Current destination */
4424 cups_dest_t *dest) /* I - Destination */