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

Function cgiGetSize

cgi-bin/var.c:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 */
247
248int /* O - Number of elements */
249cgiGetSize(const char *name) /* I - Name of variable */
250{
251 _cgi_var_t *var; /* Pointer to variable */
252
253
254 if ((var = cgi_find_variable(name)) == NULL)
255 return (0);
256
257 return (var->nvalues);
258}
259
260
261/*

Callers 5

cgiMoveJobsFunction · 0.85
cgi_initialize_multipartFunction · 0.85
cgi_initialize_stringFunction · 0.85
cgi_copyFunction · 0.85
do_am_classFunction · 0.85

Calls 1

cgi_find_variableFunction · 0.85

Tested by

no test coverage detected