MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsArrayInsert

Function cupsArrayInsert

cups/array.c:615–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613 */
614
615int /* O - 0 on failure, 1 on success */
616cupsArrayInsert(cups_array_t *a, /* I - Array */
617 void *e) /* I - Element */
618{
619 DEBUG_printf(("2cupsArrayInsert(a=%p, e=%p)", (void *)a, e));
620
621 /*
622 * Range check input...
623 */
624
625 if (!a || !e)
626 {
627 DEBUG_puts("3cupsArrayInsert: returning 0");
628 return (0);
629 }
630
631 /*
632 * Insert the element...
633 */
634
635 return (cups_array_add(a, e, 1));
636}
637
638
639/*

Callers 3

mime_find_filtersFunction · 0.85
mainFunction · 0.85
cupsdContinueJobFunction · 0.85

Calls 1

cups_array_addFunction · 0.85

Tested by

no test coverage detected