From: Kevin Day Date: Sat, 2 Apr 2022 02:52:38 +0000 (-0500) Subject: Update: Add F_once, F_receive, F_repeat, and F_send status codes. X-Git-Tag: 0.5.9~11 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=5767a78ced9ac5983665349088b24c99a25cde2d;p=fll Update: Add F_once, F_receive, F_repeat, and F_send status codes. This includes the *_not inverse versions. Move the F_search into the correct position. --- diff --git a/level_0/f_status/c/status.h b/level_0/f_status/c/status.h index 02827ca..4b6a938 100644 --- a/level_0/f_status/c/status.h +++ b/level_0/f_status/c/status.h @@ -317,6 +317,8 @@ extern "C" { F_nice_not, F_object, F_object_not, + F_once, + F_once_not, F_option, F_option_not, F_output, @@ -352,6 +354,8 @@ extern "C" { F_read_only, F_ready, F_ready_not, + F_receive, + F_receive_not, F_recover, F_recover_not, F_recurse, @@ -360,14 +364,18 @@ extern "C" { F_relative_not, F_remote, F_remote_not, + F_repeat, + F_repeat_not, F_require, F_require_not, F_resource, F_resource_not, - F_search, - F_search_not, F_schedule, F_schedule_not, + F_search, + F_search_not, + F_send, + F_send_not, F_signal, F_signal_not, F_size, diff --git a/level_0/f_status_string/c/status_string.c b/level_0/f_status_string/c/status_string.c index c13e30d..516fb7a 100644 --- a/level_0/f_status_string/c/status_string.c +++ b/level_0/f_status_string/c/status_string.c @@ -224,6 +224,8 @@ extern "C" { const f_string_static_t f_status_nice_not_s = macro_f_string_static_t_initialize(F_status_nice_not_s, 0, F_status_nice_not_s_length); const f_string_static_t f_status_object_s = macro_f_string_static_t_initialize(F_status_object_s, 0, F_status_object_s_length); const f_string_static_t f_status_object_not_s = macro_f_string_static_t_initialize(F_status_object_not_s, 0, F_status_object_not_s_length); + const f_string_static_t f_status_once_s = macro_f_string_static_t_initialize(F_status_once_s, 0, F_status_once_s_length); + const f_string_static_t f_status_once_not_s = macro_f_string_static_t_initialize(F_status_once_not_s, 0, F_status_once_not_s_length); const f_string_static_t f_status_option_s = macro_f_string_static_t_initialize(F_status_option_s, 0, F_status_option_s_length); const f_string_static_t f_status_option_not_s = macro_f_string_static_t_initialize(F_status_option_not_s, 0, F_status_option_not_s_length); const f_string_static_t f_status_output_s = macro_f_string_static_t_initialize(F_status_output_s, 0, F_status_output_s_length); @@ -259,6 +261,8 @@ extern "C" { const f_string_static_t f_status_read_only_s = macro_f_string_static_t_initialize(F_status_read_only_s, 0, F_status_read_only_s_length); const f_string_static_t f_status_ready_s = macro_f_string_static_t_initialize(F_status_ready_s, 0, F_status_ready_s_length); const f_string_static_t f_status_ready_not_s = macro_f_string_static_t_initialize(F_status_ready_not_s, 0, F_status_ready_not_s_length); + const f_string_static_t f_status_receive_s = macro_f_string_static_t_initialize(F_status_receive_s, 0, F_status_receive_s_length); + const f_string_static_t f_status_receive_not_s = macro_f_string_static_t_initialize(F_status_receive_not_s, 0, F_status_receive_not_s_length); const f_string_static_t f_status_recover_s = macro_f_string_static_t_initialize(F_status_recover_s, 0, F_status_recover_s_length); const f_string_static_t f_status_recover_not_s = macro_f_string_static_t_initialize(F_status_recover_not_s, 0, F_status_recover_not_s_length); const f_string_static_t f_status_recurse_s = macro_f_string_static_t_initialize(F_status_recurse_s, 0, F_status_recurse_s_length); @@ -267,14 +271,18 @@ extern "C" { const f_string_static_t f_status_relative_not_s = macro_f_string_static_t_initialize(F_status_relative_not_s, 0, F_status_relative_not_s_length); const f_string_static_t f_status_remote_s = macro_f_string_static_t_initialize(F_status_remote_s, 0, F_status_remote_s_length); const f_string_static_t f_status_remote_not_s = macro_f_string_static_t_initialize(F_status_remote_not_s, 0, F_status_remote_not_s_length); + const f_string_static_t f_status_repeat_s = macro_f_string_static_t_initialize(F_status_repeat_s, 0, F_status_repeat_s_length); + const f_string_static_t f_status_repeat_not_s = macro_f_string_static_t_initialize(F_status_repeat_not_s, 0, F_status_repeat_not_s_length); const f_string_static_t f_status_require_s = macro_f_string_static_t_initialize(F_status_require_s, 0, F_status_require_s_length); const f_string_static_t f_status_require_not_s = macro_f_string_static_t_initialize(F_status_require_not_s, 0, F_status_require_not_s_length); const f_string_static_t f_status_resource_s = macro_f_string_static_t_initialize(F_status_resource_s, 0, F_status_resource_s_length); const f_string_static_t f_status_resource_not_s = macro_f_string_static_t_initialize(F_status_resource_not_s, 0, F_status_resource_not_s_length); - const f_string_static_t f_status_search_s = macro_f_string_static_t_initialize(F_status_search_s, 0, F_status_search_s_length); - const f_string_static_t f_status_search_not_s = macro_f_string_static_t_initialize(F_status_search_not_s, 0, F_status_search_not_s_length); const f_string_static_t f_status_schedule_s = macro_f_string_static_t_initialize(F_status_schedule_s, 0, F_status_schedule_s_length); const f_string_static_t f_status_schedule_not_s = macro_f_string_static_t_initialize(F_status_schedule_not_s, 0, F_status_schedule_not_s_length); + const f_string_static_t f_status_search_s = macro_f_string_static_t_initialize(F_status_search_s, 0, F_status_search_s_length); + const f_string_static_t f_status_search_not_s = macro_f_string_static_t_initialize(F_status_search_not_s, 0, F_status_search_not_s_length); + const f_string_static_t f_status_send_s = macro_f_string_static_t_initialize(F_status_send_s, 0, F_status_send_s_length); + const f_string_static_t f_status_send_not_s = macro_f_string_static_t_initialize(F_status_send_not_s, 0, F_status_send_not_s_length); const f_string_static_t f_status_size_s = macro_f_string_static_t_initialize(F_status_size_s, 0, F_status_size_s_length); const f_string_static_t f_status_size_not_s = macro_f_string_static_t_initialize(F_status_size_not_s, 0, F_status_size_not_s_length); const f_string_static_t f_status_signal_s = macro_f_string_static_t_initialize(F_status_signal_s, 0, F_status_signal_s_length); @@ -1448,6 +1456,10 @@ extern "C" { *name = f_status_object_not_s; break; + case F_once_not: + *name = f_status_once_not_s; + break; + case F_option: *name = f_status_option_s; break; @@ -1588,6 +1600,10 @@ extern "C" { *name = f_status_ready_not_s; break; + case F_receive_not: + *name = f_status_receive_not_s; + break; + case F_recover: *name = f_status_recover_s; break; @@ -1620,6 +1636,10 @@ extern "C" { *name = f_status_remote_not_s; break; + case F_repeat_not: + *name = f_status_repeat_not_s; + break; + case F_require: *name = f_status_require_s; break; @@ -1636,6 +1656,14 @@ extern "C" { *name = f_status_resource_not_s; break; + case F_schedule: + *name = f_status_schedule_s; + break; + + case F_schedule_not: + *name = f_status_schedule_not_s; + break; + case F_search: *name = f_status_search_s; break; @@ -1644,12 +1672,8 @@ extern "C" { *name = f_status_search_not_s; break; - case F_schedule: - *name = f_status_schedule_s; - break; - - case F_schedule_not: - *name = f_status_schedule_not_s; + case F_send_not: + *name = f_status_send_not_s; break; case F_size: diff --git a/level_0/f_status_string/c/status_string.h b/level_0/f_status_string/c/status_string.h index b5bb422..deeaaf1 100644 --- a/level_0/f_status_string/c/status_string.h +++ b/level_0/f_status_string/c/status_string.h @@ -377,6 +377,8 @@ extern "C" { #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_once_s "F_once" + #define F_status_once_not_s "F_once_not" #define F_status_option_s "F_option" #define F_status_option_not_s "F_option_not" #define F_status_output_s "F_output" @@ -412,6 +414,8 @@ extern "C" { #define F_status_read_only_s "F_read_only" #define F_status_ready_s "F_ready" #define F_status_ready_not_s "F_ready_not" + #define F_status_receive_s "F_receive" + #define F_status_receive_not_s "F_receive_not" #define F_status_recover_s "F_recover" #define F_status_recover_not_s "F_recover_not" #define F_status_recurse_s "F_recurse" @@ -420,14 +424,18 @@ extern "C" { #define F_status_relative_not_s "F_relative_not" #define F_status_remote_s "F_remote" #define F_status_remote_not_s "F_remote_not" + #define F_status_repeat_s "F_repeat" + #define F_status_repeat_not_s "F_repeat_not" #define F_status_require_s "F_require" #define F_status_require_not_s "F_require_not" #define F_status_resource_s "F_resource" #define F_status_resource_not_s "F_resource_not" - #define F_status_search_s "F_search" - #define F_status_search_not_s "F_search_not" #define F_status_schedule_s "F_schedule" #define F_status_schedule_not_s "F_schedule_not" + #define F_status_search_s "F_search" + #define F_status_search_not_s "F_search_not" + #define F_status_send_s "F_send" + #define F_status_send_not_s "F_send_not" #define F_status_size_s "F_size" #define F_status_size_not_s "F_size_not" #define F_status_signal_s "F_signal" @@ -627,6 +635,8 @@ extern "C" { #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_once_s_length 6 + #define F_status_once_not_s_length 10 #define F_status_option_s_length 8 #define F_status_option_not_s_length 12 #define F_status_output_s_length 8 @@ -662,6 +672,8 @@ extern "C" { #define F_status_read_only_s_length 11 #define F_status_ready_s_length 7 #define F_status_ready_not_s_length 11 + #define F_status_receive_s_length 9 + #define F_status_receive_not_s_length 13 #define F_status_recover_s_length 9 #define F_status_recover_not_s_length 13 #define F_status_recurse_s_length 9 @@ -670,14 +682,18 @@ extern "C" { #define F_status_relative_not_s_length 14 #define F_status_remote_s_length 8 #define F_status_remote_not_s_length 12 + #define F_status_repeat_s_length 8 + #define F_status_repeat_not_s_length 12 #define F_status_require_s_length 9 #define F_status_require_not_s_length 13 #define F_status_resource_s_length 10 #define F_status_resource_not_s_length 14 - #define F_status_search_s_length 8 - #define F_status_search_not_s_length 12 #define F_status_schedule_s_length 10 #define F_status_schedule_not_s_length 14 + #define F_status_search_s_length 8 + #define F_status_search_not_s_length 12 + #define F_status_send_s_length 6 + #define F_status_send_not_s_length 10 #define F_status_size_s_length 6 #define F_status_size_not_s_length 10 #define F_status_signal_s_length 8 @@ -877,6 +893,8 @@ extern "C" { extern const f_string_static_t f_status_nice_not_s; extern const f_string_static_t f_status_object_s; extern const f_string_static_t f_status_object_not_s; + extern const f_string_static_t f_status_once_s; + extern const f_string_static_t f_status_once_not_s; extern const f_string_static_t f_status_option_s; extern const f_string_static_t f_status_option_not_s; extern const f_string_static_t f_status_output_s; @@ -912,6 +930,8 @@ extern "C" { extern const f_string_static_t f_status_read_only_s; extern const f_string_static_t f_status_ready_s; extern const f_string_static_t f_status_ready_not_s; + extern const f_string_static_t f_status_receive_s; + extern const f_string_static_t f_status_receive_not_s; extern const f_string_static_t f_status_recover_s; extern const f_string_static_t f_status_recover_not_s; extern const f_string_static_t f_status_recurse_s; @@ -920,14 +940,18 @@ extern "C" { extern const f_string_static_t f_status_relative_not_s; extern const f_string_static_t f_status_remote_s; extern const f_string_static_t f_status_remote_not_s; + extern const f_string_static_t f_status_repeat_s; + extern const f_string_static_t f_status_repeat_not_s; extern const f_string_static_t f_status_require_s; extern const f_string_static_t f_status_require_not_s; extern const f_string_static_t f_status_resource_s; extern const f_string_static_t f_status_resource_not_s; - extern const f_string_static_t f_status_search_s; - extern const f_string_static_t f_status_search_not_s; extern const f_string_static_t f_status_schedule_s; extern const f_string_static_t f_status_schedule_not_s; + extern const f_string_static_t f_status_search_s; + extern const f_string_static_t f_status_search_not_s; + extern const f_string_static_t f_status_send_s; + extern const f_string_static_t f_status_send_not_s; extern const f_string_static_t f_status_size_s; extern const f_string_static_t f_status_size_not_s; extern const f_string_static_t f_status_signal_s; diff --git a/level_2/fll_status_string/c/status_string.c b/level_2/fll_status_string/c/status_string.c index bfce301..749c23c 100644 --- a/level_2/fll_status_string/c/status_string.c +++ b/level_2/fll_status_string/c/status_string.c @@ -1302,6 +1302,18 @@ extern "C" { return F_none; } + if (fl_string_dynamic_compare(name, f_status_once_s) == F_equal_to) { + *code = F_once; + + return F_none; + } + + if (fl_string_dynamic_compare(name, f_status_once_not_s) == F_equal_to) { + *code = F_once_not; + + return F_none; + } + if (fl_string_dynamic_compare(name, f_status_option_s) == F_equal_to) { *code = F_option; @@ -1512,6 +1524,18 @@ extern "C" { return F_none; } + if (fl_string_dynamic_compare(name, f_status_receive_s) == F_equal_to) { + *code = F_receive; + + return F_none; + } + + if (fl_string_dynamic_compare(name, f_status_receive_not_s) == F_equal_to) { + *code = F_receive_not; + + return F_none; + } + if (fl_string_dynamic_compare(name, f_status_recover_s) == F_equal_to) { *code = F_recover; @@ -1560,6 +1584,18 @@ extern "C" { return F_none; } + if (fl_string_dynamic_compare(name, f_status_repeat_s) == F_equal_to) { + *code = F_repeat; + + return F_none; + } + + if (fl_string_dynamic_compare(name, f_status_repeat_not_s) == F_equal_to) { + *code = F_repeat_not; + + return F_none; + } + if (fl_string_dynamic_compare(name, f_status_require_s) == F_equal_to) { *code = F_require; @@ -1584,6 +1620,18 @@ extern "C" { return F_none; } + if (fl_string_dynamic_compare(name, f_status_schedule_s) == F_equal_to) { + *code = F_schedule; + + return F_none; + } + + if (fl_string_dynamic_compare(name, f_status_schedule_not_s) == F_equal_to) { + *code = F_schedule_not; + + return F_none; + } + if (fl_string_dynamic_compare(name, f_status_search_s) == F_equal_to) { *code = F_search; @@ -1596,14 +1644,14 @@ extern "C" { return F_none; } - if (fl_string_dynamic_compare(name, f_status_schedule_s) == F_equal_to) { - *code = F_schedule; + if (fl_string_dynamic_compare(name, f_status_send_s) == F_equal_to) { + *code = F_send; return F_none; } - if (fl_string_dynamic_compare(name, f_status_schedule_not_s) == F_equal_to) { - *code = F_schedule_not; + if (fl_string_dynamic_compare(name, f_status_send_not_s) == F_equal_to) { + *code = F_send_not; return F_none; }