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

Function ippValidateAttributes

cups/ipp.c:4492–4506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4490 */
4491
4492int /* O - 1 if valid, 0 otherwise */
4493ippValidateAttributes(ipp_t *ipp) /* I - IPP message */
4494{
4495 ipp_attribute_t *attr; /* Current attribute */
4496
4497
4498 if (!ipp)
4499 return (1);
4500
4501 for (attr = ipp->attrs; attr; attr = attr->next)
4502 if (!ippValidateAttribute(attr))
4503 return (0);
4504
4505 return (1);
4506}
4507
4508
4509/*

Callers 2

create_local_bg_threadFunction · 0.85
mainFunction · 0.85

Calls 1

ippValidateAttributeFunction · 0.85

Tested by 1

mainFunction · 0.68