Home
last modified time | relevance | path

Searched refs:OUTPUT_JSON (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/shared/
Doutput-mode.h17 OUTPUT_JSON, enumerator
28 return IN_SET(m, OUTPUT_JSON, OUTPUT_JSON_PRETTY, OUTPUT_JSON_SSE, OUTPUT_JSON_SEQ); in OUTPUT_MODE_IS_JSON()
Doutput-mode.c34 [OUTPUT_JSON] = "json",
Dlogs-show.c1249 [OUTPUT_JSON] = output_json,
/systemd-251/src/userdb/
Duserdbctl.c30 OUTPUT_JSON, enumerator
87 case OUTPUT_JSON: in show_user()
492 case OUTPUT_JSON: in show_group()
792 case OUTPUT_JSON: { in show_membership()
1202 arg_output = OUTPUT_JSON; in parse_argv()
1214 …arg_json_format_flags = arg_output == OUTPUT_JSON ? JSON_FORMAT_PRETTY|JSON_FORMAT_COLOR_AUTO : JS… in parse_argv()
1222 … arg_output = FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF) ? _OUTPUT_INVALID : OUTPUT_JSON; in parse_argv()
1227 arg_output = OUTPUT_JSON; in parse_argv()
/systemd-251/src/journal-remote/
Djournal-gatewayd.c70 [OUTPUT_JSON] = "application/json",
278 if (streq(header, mime_types[OUTPUT_JSON])) in request_parse_accept()
279 m->mode = OUTPUT_JSON; in request_parse_accept()
526 if (m == OUTPUT_JSON) { in output_field()
640 …response_header(response, "Content-Type", mime_types[m->mode == OUTPUT_JSON ? OUTPUT_JSON : OUTPUT… in request_handler_fields()
/systemd-251/src/journal/
Djournalctl.c579 …if (IN_SET(arg_output, OUTPUT_EXPORT, OUTPUT_JSON, OUTPUT_JSON_PRETTY, OUTPUT_JSON_SSE, OUTPUT_JSO… in parse_argv()