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

Function cupsEncodeOption

cups/encode.c:698–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696 */
697
698ipp_attribute_t * /* O - New attribute or @code NULL@ on error */
699cupsEncodeOption(ipp_t *ipp, /* I - IPP request/response */
700 ipp_tag_t group_tag, /* I - Attribute group */
701 const char *name, /* I - Option name */
702 const char *value) /* I - Option string value */
703{
704 return (_cupsEncodeOption(ipp, group_tag, _ippFindOption(name), name, value, /*depth*/0));
705}
706
707
708/*

Callers 1

process_attr_messageFunction · 0.85

Calls 2

_cupsEncodeOptionFunction · 0.85
_ippFindOptionFunction · 0.85

Tested by

no test coverage detected