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

Function respond_ignored

tools/ippeveprinter.c:7608–7621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7606 */
7607
7608static void
7609respond_ignored(
7610 ippeve_client_t *client, /* I - Client */
7611 ipp_attribute_t *attr) /* I - Attribute */
7612{
7613 ipp_attribute_t *temp; /* Copy of attribute */
7614
7615
7616 if (!ippGetStatusCode(client->response))
7617 respond_ipp(client, IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED, "Unsupported %s %s%s value.", ippGetName(attr), ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attr)));
7618
7619 temp = ippCopyAttribute(client->response, attr, 0);
7620 ippSetGroupTag(client->response, &temp, IPP_TAG_UNSUPPORTED_GROUP);
7621}
7622
7623
7624/*

Callers 1

valid_job_attributesFunction · 0.85

Calls 8

ippGetStatusCodeFunction · 0.85
respond_ippFunction · 0.85
ippGetNameFunction · 0.85
ippGetCountFunction · 0.85
ippTagStringFunction · 0.85
ippGetValueTagFunction · 0.85
ippCopyAttributeFunction · 0.85
ippSetGroupTagFunction · 0.85

Tested by

no test coverage detected