* Indicate if the style is an "encoding" one as opposed to a "display" one. */
| 2031 | * Indicate if the style is an "encoding" one as opposed to a "display" one. |
| 2032 | */ |
| 2033 | static int |
| 2034 | xo_style_is_encoding (xo_handle_t *xop) |
| 2035 | { |
| 2036 | if (xo_style(xop) == XO_STYLE_JSON |
| 2037 | || xo_style(xop) == XO_STYLE_XML |
| 2038 | || xo_style(xop) == XO_STYLE_SDPARAMS |
| 2039 | || xo_style(xop) == XO_STYLE_ENCODER) |
| 2040 | return 1; |
| 2041 | return 0; |
| 2042 | } |
| 2043 | |
| 2044 | /* Simple name-value mapping */ |
| 2045 | typedef struct xo_mapping_s { |
no test coverage detected