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

Function cupsArrayAdd

cups/array.c:78–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 */
77
78int /* O - 1 on success, 0 on failure */
79cupsArrayAdd(cups_array_t *a, /* I - Array */
80 void *e) /* I - Element */
81{
82 DEBUG_printf(("2cupsArrayAdd(a=%p, e=%p)", (void *)a, e));
83
84 /*
85 * Range check input...
86 */
87
88 if (!a || !e)
89 {
90 DEBUG_puts("3cupsArrayAdd: returning 0");
91 return (0);
92 }
93
94 /*
95 * Append the element...
96 */
97
98 return (cups_array_add(a, e, 0));
99}
100
101
102/*

Callers 15

mainFunction · 0.85
get_serviceFunction · 0.85
add_stringfFunction · 0.85
do_testFunction · 0.85
with_distinct_valuesFunction · 0.85
create_jobFunction · 0.85
create_printerFunction · 0.85
finish_document_dataFunction · 0.85
finish_document_uriFunction · 0.85
ipp_create_jobFunction · 0.85
load_ppd_attributesFunction · 0.85
cupsdAddSubscriptionFunction · 0.85

Calls 1

cups_array_addFunction · 0.85

Tested by 2

mainFunction · 0.68
load_wordsFunction · 0.68