From: Kevin Day Date: Sat, 8 Jan 2022 23:39:15 +0000 (-0600) Subject: Update: Add additional status codes. X-Git-Tag: 0.5.8~135 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2ad8e84c3d7f4618feb967d012fec0367ec088a5;p=fll Update: Add additional status codes. --- diff --git a/level_0/f_status/c/status.h b/level_0/f_status/c/status.h index 61f6943..3e134fd 100644 --- a/level_0/f_status/c/status.h +++ b/level_0/f_status/c/status.h @@ -159,6 +159,8 @@ extern "C" { F_begin_not, F_block, F_block_not, + F_body, + F_body_not, F_bound, F_bound_not, F_capability, @@ -173,6 +175,8 @@ extern "C" { F_connect_reset, F_container, F_container_not, + F_content, + F_content_not, F_continue, F_continue_not, F_control, @@ -223,6 +227,8 @@ extern "C" { F_family_not, F_first, F_first_not, + F_footer, + F_footer_not, F_fork, F_fork_not, F_format, @@ -233,6 +239,8 @@ extern "C" { F_full_not, F_group, F_group_not, + F_header, + F_header_not, F_ignore, F_ignore_not, F_implemented, @@ -274,14 +282,20 @@ extern "C" { F_next_not, F_nice, F_nice_not, + F_object, + F_object_not, F_option, F_option_not, F_output, F_output_not, + F_packet, + F_packet_not, F_parameter, F_parameter_not, F_parent, F_parent_not, + F_payload, + F_payload_not, F_pipe, F_pipe_not, F_port, diff --git a/level_0/f_status_string/c/status_string.c b/level_0/f_status_string/c/status_string.c index ab07002..c089026 100644 --- a/level_0/f_status_string/c/status_string.c +++ b/level_0/f_status_string/c/status_string.c @@ -93,6 +93,8 @@ extern "C" { const f_string_t f_status_begin_not_s = F_status_begin_not_s; const f_string_t f_status_block_s = F_status_block_s; const f_string_t f_status_block_not_s = F_status_block_not_s; + const f_string_t f_status_body_s = F_status_body_s; + const f_string_t f_status_body_not_s = F_status_body_not_s; const f_string_t f_status_bound_s = F_status_bound_s; const f_string_t f_status_bound_not_s = F_status_bound_not_s; const f_string_t f_status_capability_s = F_status_capability_s; @@ -107,6 +109,8 @@ extern "C" { const f_string_t f_status_connect_reset_s = F_status_connect_reset_s; const f_string_t f_status_container_s = F_status_container_s; const f_string_t f_status_container_not_s = F_status_container_not_s; + const f_string_t f_status_content_s = F_status_content_s; + const f_string_t f_status_content_not_s = F_status_content_not_s; const f_string_t f_status_continue_s = F_status_continue_s; const f_string_t f_status_continue_not_s = F_status_continue_not_s; const f_string_t f_status_control_s = F_status_control_s; @@ -157,6 +161,8 @@ extern "C" { const f_string_t f_status_family_not_s = F_status_family_not_s; const f_string_t f_status_first_s = F_status_first_s; const f_string_t f_status_first_not_s = F_status_first_not_s; + const f_string_t f_status_footer_s = F_status_footer_s; + const f_string_t f_status_footer_not_s = F_status_footer_not_s; const f_string_t f_status_fork_s = F_status_fork_s; const f_string_t f_status_fork_not_s = F_status_fork_not_s; const f_string_t f_status_format_s = F_status_format_s; @@ -167,6 +173,8 @@ extern "C" { const f_string_t f_status_full_not_s = F_status_full_not_s; const f_string_t f_status_group_s = F_status_group_s; const f_string_t f_status_group_not_s = F_status_group_not_s; + const f_string_t f_status_header_s = F_status_header_s; + const f_string_t f_status_header_not_s = F_status_header_not_s; const f_string_t f_status_ignore_s = F_status_ignore_s; const f_string_t f_status_ignore_not_s = F_status_ignore_not_s; const f_string_t f_status_implemented_s = F_status_implemented_s; @@ -208,14 +216,20 @@ extern "C" { const f_string_t f_status_next_not_s = F_status_next_not_s; const f_string_t f_status_nice_s = F_status_nice_s; const f_string_t f_status_nice_not_s = F_status_nice_not_s; + const f_string_t f_status_object_s = F_status_object_s; + const f_string_t f_status_object_not_s = F_status_object_not_s; const f_string_t f_status_option_s = F_status_option_s; const f_string_t f_status_option_not_s = F_status_option_not_s; const f_string_t f_status_output_s = F_status_output_s; const f_string_t f_status_output_not_s = F_status_output_not_s; + const f_string_t f_status_packet_s = F_status_packet_s; + const f_string_t f_status_packet_not_s = F_status_packet_not_s; const f_string_t f_status_parameter_s = F_status_parameter_s; const f_string_t f_status_parameter_not_s = F_status_parameter_not_s; const f_string_t f_status_parent_s = F_status_parent_s; const f_string_t f_status_parent_not_s = F_status_parent_not_s; + const f_string_t f_status_payload_s = F_status_payload_s; + const f_string_t f_status_payload_not_s = F_status_payload_not_s; const f_string_t f_status_pipe_s = F_status_pipe_s; const f_string_t f_status_pipe_not_s = F_status_pipe_not_s; const f_string_t f_status_port_s = F_status_port_s; @@ -906,6 +920,14 @@ extern "C" { *string = f_status_block_not_s; break; + case F_body: + *string = f_status_body_s; + break; + + case F_body_not: + *string = f_status_body_not_s; + break; + case F_bound: *string = f_status_bound_s; break; @@ -954,6 +976,14 @@ extern "C" { *string = f_status_connect_reset_s; break; + case F_content: + *string = f_status_content_s; + break; + + case F_content_not: + *string = f_status_content_not_s; + break; + case F_continue: *string = f_status_continue_s; break; @@ -1162,6 +1192,14 @@ extern "C" { *string = f_status_first_not_s; break; + case F_footer: + *string = f_status_footer_s; + break; + + case F_footer_not: + *string = f_status_footer_not_s; + break; + case F_fork: *string = f_status_fork_s; break; @@ -1202,6 +1240,14 @@ extern "C" { *string = f_status_group_not_s; break; + case F_header: + *string = f_status_header_s; + break; + + case F_header_not: + *string = f_status_header_not_s; + break; + case F_ignore: *string = f_status_ignore_s; break; @@ -1358,6 +1404,14 @@ extern "C" { *string = f_status_nice_not_s; break; + case F_object: + *string = f_status_object_s; + break; + + case F_object_not: + *string = f_status_object_not_s; + break; + case F_option: *string = f_status_option_s; break; @@ -1374,6 +1428,14 @@ extern "C" { *string = f_status_output_not_s; break; + case F_packet: + *string = f_status_packet_s; + break; + + case F_packet_not: + *string = f_status_packet_not_s; + break; + case F_parameter: *string = f_status_parameter_s; break; @@ -1390,6 +1452,14 @@ extern "C" { *string = f_status_parent_not_s; break; + case F_payload: + *string = f_status_payload_s; + break; + + case F_payload_not: + *string = f_status_payload_not_s; + break; + case F_pipe: *string = f_status_pipe_s; break; diff --git a/level_0/f_status_string/c/status_string.h b/level_0/f_status_string/c/status_string.h index ca3c2c3..ec28f3f 100644 --- a/level_0/f_status_string/c/status_string.h +++ b/level_0/f_status_string/c/status_string.h @@ -246,6 +246,8 @@ extern "C" { #define F_status_begin_not_s "F_begin_not" #define F_status_block_s "F_block" #define F_status_block_not_s "F_block_not" + #define F_status_body_s "F_body" + #define F_status_body_not_s "F_body_not" #define F_status_bound_s "F_bound" #define F_status_bound_not_s "F_bound_not" #define F_status_capability_s "F_capability" @@ -260,6 +262,8 @@ extern "C" { #define F_status_connect_reset_s "F_connect_reset" #define F_status_container_s "F_container" #define F_status_container_not_s "F_container_not" + #define F_status_content_s "F_content" + #define F_status_content_not_s "F_content_not" #define F_status_continue_s "F_continue" #define F_status_continue_not_s "F_continue_not" #define F_status_control_s "F_control" @@ -310,6 +314,8 @@ extern "C" { #define F_status_family_not_s "F_family_not" #define F_status_first_s "F_first" #define F_status_first_not_s "F_first_not" + #define F_status_footer_s "F_footer" + #define F_status_footer_not_s "F_footer_not" #define F_status_fork_s "F_fork" #define F_status_fork_not_s "F_fork_not" #define F_status_format_s "F_format" @@ -320,6 +326,8 @@ extern "C" { #define F_status_full_not_s "F_full_not" #define F_status_group_s "F_group" #define F_status_group_not_s "F_group_not" + #define F_status_header_s "F_header" + #define F_status_header_not_s "F_header_not" #define F_status_ignore_s "F_ignore" #define F_status_ignore_not_s "F_ignore_not" #define F_status_implemented_s "F_implemented" @@ -361,14 +369,20 @@ extern "C" { #define F_status_next_not_s "F_next_not" #define F_status_nice_s "F_nice" #define F_status_nice_not_s "F_nice_not" + #define F_status_object_s "F_object" + #define F_status_object_not_s "F_object_not" #define F_status_option_s "F_option" #define F_status_option_not_s "F_option_not" #define F_status_output_s "F_output" #define F_status_output_not_s "F_output_not" + #define F_status_packet_s "F_packet" + #define F_status_packet_not_s "F_packet_not" #define F_status_parameter_s "F_parameter" #define F_status_parameter_not_s "F_parameter_not" #define F_status_parent_s "F_parent" #define F_status_parent_not_s "F_parent_not" + #define F_status_payload_s "F_payload" + #define F_status_payload_not_s "F_payload_not" #define F_status_pipe_s "F_pipe" #define F_status_pipe_not_s "F_pipe_not" #define F_status_port_s "F_port" @@ -472,6 +486,8 @@ extern "C" { #define F_status_begin_not_s_length 11 #define F_status_block_s_length 7 #define F_status_block_not_s_length 11 + #define F_status_body_s_length 6 + #define F_status_body_not_s_length 10 #define F_status_bound_s_length 7 #define F_status_bound_not_s_length 11 #define F_status_capability_s_length 12 @@ -486,6 +502,8 @@ extern "C" { #define F_status_connect_reset_s_length 15 #define F_status_container_s_length 11 #define F_status_container_not_s_length 15 + #define F_status_content_s_length 9 + #define F_status_content_not_s_length 13 #define F_status_continue_s_length 10 #define F_status_continue_not_s_length 14 #define F_status_control_s_length 9 @@ -536,6 +554,8 @@ extern "C" { #define F_status_family_not_s_length 12 #define F_status_first_s_length 7 #define F_status_first_not_s_length 11 + #define F_status_footer_s_length 8 + #define F_status_footer_not_s_length 12 #define F_status_fork_s_length 6 #define F_status_fork_not_s_length 10 #define F_status_format_s_length 8 @@ -546,6 +566,8 @@ extern "C" { #define F_status_full_not_s_length 10 #define F_status_group_s_length 7 #define F_status_group_not_s_length 11 + #define F_status_header_s_length 8 + #define F_status_header_not_s_length 12 #define F_status_ignore_s_length 8 #define F_status_ignore_not_s_length 12 #define F_status_implemented_s_length 13 @@ -587,14 +609,20 @@ extern "C" { #define F_status_next_not_s_length 10 #define F_status_nice_s_length 6 #define F_status_nice_not_s_length 10 + #define F_status_object_s_length 8 + #define F_status_object_not_s_length 12 #define F_status_option_s_length 8 #define F_status_option_not_s_length 12 #define F_status_output_s_length 8 #define F_status_output_not_s_length 12 + #define F_status_packet_s_length 8 + #define F_status_packet_not_s_length 12 #define F_status_parameter_s_length 11 #define F_status_parameter_not_s_length 15 #define F_status_parent_s_length 8 #define F_status_parent_not_s_length 12 + #define F_status_payload_s_length 9 + #define F_status_payload_not_s_length 13 #define F_status_pipe_s_length 6 #define F_status_pipe_not_s_length 10 #define F_status_port_s_length 6 @@ -698,6 +726,8 @@ extern "C" { extern const f_string_t f_status_begin_not_s; extern const f_string_t f_status_block_s; extern const f_string_t f_status_block_not_s; + extern const f_string_t f_status_body_s; + extern const f_string_t f_status_body_not_s; extern const f_string_t f_status_bound_s; extern const f_string_t f_status_bound_not_s; extern const f_string_t f_status_capability_s; @@ -712,6 +742,8 @@ extern "C" { extern const f_string_t f_status_connect_reset_s; extern const f_string_t f_status_container_s; extern const f_string_t f_status_container_not_s; + extern const f_string_t f_status_content_s; + extern const f_string_t f_status_content_not_s; extern const f_string_t f_status_continue_s; extern const f_string_t f_status_continue_not_s; extern const f_string_t f_status_control_s; @@ -762,6 +794,8 @@ extern "C" { extern const f_string_t f_status_family_not_s; extern const f_string_t f_status_first_s; extern const f_string_t f_status_first_not_s; + extern const f_string_t f_status_footer_s; + extern const f_string_t f_status_footer_not_s; extern const f_string_t f_status_fork_s; extern const f_string_t f_status_fork_not_s; extern const f_string_t f_status_format_s; @@ -772,6 +806,8 @@ extern "C" { extern const f_string_t f_status_full_not_s; extern const f_string_t f_status_group_s; extern const f_string_t f_status_group_not_s; + extern const f_string_t f_status_header_s; + extern const f_string_t f_status_header_not_s; extern const f_string_t f_status_ignore_s; extern const f_string_t f_status_ignore_not_s; extern const f_string_t f_status_implemented_s; @@ -813,14 +849,20 @@ extern "C" { extern const f_string_t f_status_next_not_s; extern const f_string_t f_status_nice_s; extern const f_string_t f_status_nice_not_s; + extern const f_string_t f_status_object_s; + extern const f_string_t f_status_object_not_s; extern const f_string_t f_status_option_s; extern const f_string_t f_status_option_not_s; extern const f_string_t f_status_output_s; extern const f_string_t f_status_output_not_s; + extern const f_string_t f_status_packet_s; + extern const f_string_t f_status_packet_not_s; extern const f_string_t f_status_parameter_s; extern const f_string_t f_status_parameter_not_s; extern const f_string_t f_status_parent_s; extern const f_string_t f_status_parent_not_s; + extern const f_string_t f_status_payload_s; + extern const f_string_t f_status_payload_not_s; extern const f_string_t f_status_previous_s; extern const f_string_t f_status_previous_not_s; extern const f_string_t f_status_pipe_s; diff --git a/level_2/fll_status_string/c/status_string.c b/level_2/fll_status_string/c/status_string.c index 8c47584..df898df 100644 --- a/level_2/fll_status_string/c/status_string.c +++ b/level_2/fll_status_string/c/status_string.c @@ -493,6 +493,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_body_s, length, F_status_body_s_length) == F_equal_to) { + *code = F_body; + + return F_none; + } + + if (fl_string_compare(string, f_status_body_not_s, length, F_status_body_not_s_length) == F_equal_to) { + *code = F_body_not; + + return F_none; + } + if (fl_string_compare(string, f_status_begin_s, length, F_status_begin_s_length) == F_equal_to) { *code = F_begin; @@ -601,6 +613,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_content_s, length, F_status_content_s_length) == F_equal_to) { + *code = F_content; + + return F_none; + } + + if (fl_string_compare(string, f_status_content_not_s, length, F_status_content_not_s_length) == F_equal_to) { + *code = F_content_not; + + return F_none; + } + if (fl_string_compare(string, f_status_continue_s, length, F_status_continue_s_length) == F_equal_to) { *code = F_continue; @@ -901,6 +925,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_footer_s, length, F_status_footer_s_length) == F_equal_to) { + *code = F_footer; + + return F_none; + } + + if (fl_string_compare(string, f_status_footer_not_s, length, F_status_footer_not_s_length) == F_equal_to) { + *code = F_footer_not; + + return F_none; + } + if (fl_string_compare(string, f_status_fork_s, length, F_status_fork_s_length) == F_equal_to) { *code = F_fork; @@ -961,6 +997,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_header_s, length, F_status_header_s_length) == F_equal_to) { + *code = F_header; + + return F_none; + } + + if (fl_string_compare(string, f_status_header_not_s, length, F_status_header_not_s_length) == F_equal_to) { + *code = F_header_not; + + return F_none; + } + if (fl_string_compare(string, f_status_ignore_s, length, F_status_ignore_s_length) == F_equal_to) { *code = F_ignore; @@ -1207,6 +1255,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_object_s, length, F_status_object_s_length) == F_equal_to) { + *code = F_object; + + return F_none; + } + + if (fl_string_compare(string, f_status_object_not_s, length, F_status_object_not_s_length) == F_equal_to) { + *code = F_object_not; + + return F_none; + } + if (fl_string_compare(string, f_status_option_s, length, F_status_option_s_length) == F_equal_to) { *code = F_option; @@ -1231,6 +1291,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_packet_s, length, F_status_packet_s_length) == F_equal_to) { + *code = F_packet; + + return F_none; + } + + if (fl_string_compare(string, f_status_packet_not_s, length, F_status_packet_not_s_length) == F_equal_to) { + *code = F_packet_not; + + return F_none; + } + if (fl_string_compare(string, f_status_parameter_s, length, F_status_parameter_s_length) == F_equal_to) { *code = F_parameter; @@ -1255,6 +1327,18 @@ extern "C" { return F_none; } + if (fl_string_compare(string, f_status_payload_s, length, F_status_payload_s_length) == F_equal_to) { + *code = F_payload; + + return F_none; + } + + if (fl_string_compare(string, f_status_payload_not_s, length, F_status_payload_not_s_length) == F_equal_to) { + *code = F_payload_not; + + return F_none; + } + if (fl_string_compare(string, f_status_pipe_s, length, F_status_pipe_s_length) == F_equal_to) { *code = F_pipe;