Now the f_compare exists the fll_status_string only depends on level 0 projects.
This can now be moved from a level 2 project into a level 1 project.
The fll_fss_status_code can now call fl_status_code.
-#define _di_fll_status_string_from_
+#define _di_fl_status_string_from_
#define _di_f_status_access_s_
#define _di_f_status_array_s_
#define _di_f_status_available_s_
build_sources_library path.c
build_sources_library print.c private-print.c print/common.c
build_sources_library signal.c
+build_sources_library status_string.c
build_sources_library utf_file.c private-utf_file.c
build_sources_headers control_group.h
build_sources_headers path.h
build_sources_headers print.h print/common.h
build_sources_headers signal.h signal/common.h
+build_sources_headers status_string.h
build_sources_headers utf_file.h
build_script yes
build_sources_library iki.c private-iki.c
build_sources_library print.c
build_sources_library program.c program/common.c program/print.c private-program.c
-build_sources_library status_string.c
build_sources_headers control_group.h
build_sources_headers error.h error/common.h
build_sources_headers iki.h
build_sources_headers print.h
build_sources_headers program.h program/common.h program/print.h
-build_sources_headers status_string.h
build_script yes
build_shared yes
build_sources_library level_1/path.c
build_sources_library level_1/print.c level_1/private-print.c level_1/print/common.c
build_sources_library level_1/signal.c
+build_sources_library level_1/status_string.c
build_sources_library level_1/utf_file.c level_1/private-utf_file.c
build_sources_library level_2/control_group.c
build_sources_library level_2/iki.c level_2/private-iki.c
build_sources_library level_2/print.c
build_sources_library level_2/program.c level_2/program/common.c level_2/program/print.c level_2/private-program.c
-build_sources_library level_2/status_string.c
build_sources_library-monolithic level_0/thread.c level_0/private-thread.c level_0/thread/attribute.c level_0/thread/barrier.c level_0/thread/barrier_attribute.c level_0/thread/condition.c level_0/thread/condition_attribute.c level_0/thread/id.c level_0/thread/key.c level_0/thread/lock.c level_0/thread/lock_attribute.c level_0/thread/mutex.c level_0/thread/mutex_attribute.c level_0/thread/once.c level_0/thread/semaphore.c level_0/thread/set.c level_0/thread/spin.c
build_sources_headers level_1/path.h
build_sources_headers level_1/print.h level_1/print/common.h
build_sources_headers level_1/signal.h level_1/signal/common.h
+build_sources_headers level_1/status_string.h
build_sources_headers level_1/utf_file.h
build_sources_headers level_2/control_group.h
build_sources_headers level_2/iki.h
build_sources_headers level_2/print.h
build_sources_headers level_2/program.h level_2/program/common.h level_2/program/print.h
-build_sources_headers level_2/status_string.h
build_sources_headers-monolithic level_0/thread.h level_0/thread/attribute.h level_0/thread/barrier.h level_0/thread/barrier_attribute.h level_0/thread/condition.h level_0/thread/condition_attribute.h level_0/thread/id.h level_0/thread/key.h level_0/thread/lock.h level_0/thread/lock_attribute.h level_0/thread/mutex.h level_0/thread/mutex_attribute.h level_0/thread/once.h level_0/thread/semaphore.h level_0/thread/set.h level_0/thread/spin.h
$shell_command build/scripts/package.sh $verbose $color rebuild -i
if [[ $? -eq 0 ]] ; then
- for i in f_type f_status f_memory f_type_array f_string f_utf f_account f_capability f_color f_compare f_console f_control_group f_conversion f_directory f_environment f_execute f_file f_fss f_iki f_limit f_parse f_path f_pipe f_print f_rip f_status_string f_serialize f_signal f_socket f_thread fl_control_group fl_conversion fl_directory fl_environment fl_execute fl_fss fl_iki fl_path fl_print fl_signal fl_utf_file fll_control_group fll_error fll_execute fll_file fll_fss fll_fss_status_string fll_iki fll_print fll_program fll_status_string ; do
+ for i in f_type f_status f_memory f_type_array f_string f_utf f_account f_capability f_color f_compare f_console f_control_group f_conversion f_directory f_environment f_execute f_file f_fss f_iki f_limit f_parse f_path f_pipe f_print f_rip f_status_string f_serialize f_signal f_socket f_thread fl_control_group fl_conversion fl_directory fl_environment fl_execute fl_fss fl_iki fl_path fl_print fl_signal fl_status_string fl_utf_file fll_control_group fll_error fll_execute fll_file fll_fss fll_fss_status_string fll_iki fll_print fll_program ; do
echo && echo "Processing $i." &&
cd package/individual/$i-$version/ &&
local verbose=
local verbose_common=
- local projects="f_type f_status f_memory f_type_array f_string f_utf f_account f_capability f_color f_compare f_console f_control_group f_conversion f_directory f_environment f_execute f_file f_fss f_iki f_limit f_parse f_path f_pipe f_print f_rip f_serialize f_signal f_socket f_status_string f_thread fl_control_group fl_conversion fl_directory fl_environment fl_execute fl_fss fl_iki fl_path fl_print fl_signal fl_utf_file fll_control_group fll_error fll_execute fll_file fll_fss fll_fss_status_string fll_iki fll_print fll_program fll_status_string"
+ local projects="f_type f_status f_memory f_type_array f_string f_utf f_account f_capability f_color f_compare f_console f_control_group f_conversion f_directory f_environment f_execute f_file f_fss f_iki f_limit f_parse f_path f_pipe f_print f_rip f_serialize f_signal f_socket f_status_string f_thread fl_control_group fl_conversion fl_directory fl_environment fl_execute fl_fss fl_iki fl_path fl_print fl_signal fl_status_string fl_utf_file fll_control_group fll_error fll_execute fll_file fll_fss fll_fss_status_string fll_iki fll_print fll_program"
local projects_no_tests="f_type"
if [[ $# -gt 0 ]] ; then
extern "C" {
#endif
-#ifndef _di_fll_status_string_from_
- f_status_t fll_status_string_from(const f_string_static_t name, f_status_t * const code) {
+#ifndef _di_fl_status_string_from_
+ f_status_t fl_status_string_from(const f_string_static_t name, f_status_t * const code) {
#ifndef _di_level_2_parameter_checking_
if (!code) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- if (!name.used) {
- return F_data_not;
- }
+ if (!name.used) return F_data_not;
// Numbers are not valid status code strings.
- if ((status = f_conversion_character_is_decimal(name.string[0])) == F_true) {
- return F_status_set_error(F_data);
- }
-
- if (F_status_is_error(status)) {
- return status;
- }
+ if ((status = f_conversion_character_is_decimal(name.string[0])) == F_true) return F_status_set_error(F_data);
+ if (F_status_is_error(status)) return status;
#ifndef _di_f_status_boolean_s_
if (f_compare_dynamic(name, f_status_false_s) == F_equal_to) {
return F_none;
}
+ if (f_compare_dynamic(name, f_status_okay_s) == F_equal_to) {
+ *code = F_okay;
+
+ return F_none;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_not_s) == F_equal_to) {
+ *code = F_okay_not;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_once_s) == F_equal_to) {
*code = F_once;
return F_none;
}
+ if (f_compare_dynamic(name, f_status_complete_not_utf_start_s) == F_equal_to) {
+ *code = F_complete_not_utf_start;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_complete_not_utf_stop_s) == F_equal_to) {
*code = F_complete_not_utf_stop;
return F_none;
}
+ if (f_compare_dynamic(name, f_status_none_start_s) == F_equal_to) {
+ *code = F_none_start;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_none_stop_s) == F_equal_to) {
*code = F_none_stop;
return F_none;
}
+ if (f_compare_dynamic(name, f_status_data_not_start_s) == F_equal_to) {
+ *code = F_data_not_start;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_data_not_stop_s) == F_equal_to) {
*code = F_data_not_stop;
return F_none;
}
+ if (f_compare_dynamic(name, f_status_end_not_group_start_s) == F_equal_to) {
+ *code = F_end_not_group_start;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_end_not_group_stop_s) == F_equal_to) {
*code = F_end_not_group_stop;
return F_none;
}
+ if (f_compare_dynamic(name, f_status_end_not_nest_start_s) == F_equal_to) {
+ *code = F_end_not_nest_start;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_end_not_nest_stop_s) == F_equal_to) {
*code = F_end_not_nest_stop;
return F_none;
}
+ if (f_compare_dynamic(name, f_status_end_not_start_s) == F_equal_to) {
+ *code = F_end_not_start;
+
+ return F_none;
+ }
+
if (f_compare_dynamic(name, f_status_end_not_stop_s) == F_equal_to) {
*code = F_end_not_stop;
return F_status_set_error(F_data);
}
-#endif // _di_fll_status_string_from_
+#endif // _di_fl_status_string_from_
#ifdef __cplusplus
} // extern "C"
/**
- * FLL - Level 2
+ * FLL - Level 1
*
* Project: Status
* API Version: 0.7
*
* Provides status code functions, such as those that translate status codes into strings.
*/
-#ifndef _FLL_status_string_h
-#define _FLL_status_string_h
+#ifndef _FL_status_string_h
+#define _FL_status_string_h
// FLL-0 includes.
#include <fll/level_0/type.h>
*
* Errors (with error bit) from: f_conversion_character_is_decimal().
*/
-#ifndef _di_fll_status_string_from_
- extern f_status_t fll_status_string_from(const f_string_static_t name, f_status_t * const code);
-#endif // _di_fll_status_string_to_
+#ifndef _di_fl_status_string_from_
+ extern f_status_t fl_status_string_from(const f_string_static_t name, f_status_t * const code);
+#endif // _di_fl_status_string_to_
#ifdef __cplusplus
} // extern "C"
#endif
-#endif // _FLL_status_string_h
+#endif // _FL_status_string_h
# fss-0001
-build_name fll_status_string
+build_name fl_status_string
version_major 0
version_minor 7
build_shared yes
build_static no
-path_headers fll/level_2
+path_headers fll/level_1
path_library_script script
path_library_shared shared
path_library_static static
# Memory leaks in the test program can be checked for by running valgrind with this executable.
#
-build_name test-fll_status_string
+build_name test-fl_status_string
version_major 0
version_minor 7
build_language c
build_libraries -lc -lcmocka
-build_libraries-individual -lf_compare -lf_conversion -lf_memory -lf_parse -lf_status_string -lf_string -lf_utf -lfll_status_string
+build_libraries-individual -lf_compare -lf_conversion -lf_memory -lf_parse -lf_status_string -lf_string -lf_utf -lfl_status_string
build_sources_program test-status_string-from.c
build_sources_program test-status_string.c
extern "C" {
#endif
-void test__fll_status_string_from__fails(void **state) {
+void test__fl_status_string_from__fails(void **state) {
f_string_static_t invalids[] = {
macro_f_string_static_t_initialize("X&87-", 0, 5),
f_status_t result = F_none;
- const f_status_t status = fll_status_string_from(invalids[i], &result);
+ const f_status_t status = fl_status_string_from(invalids[i], &result);
assert_int_equal(status, F_status_set_error(F_data));
} // for
}
-void test__fll_status_string_from__parameter_checking(void **state) {
+void test__fl_status_string_from__parameter_checking(void **state) {
{
- const f_status_t status = fll_status_string_from(f_string_empty_s, 0);
+ const f_status_t status = fl_status_string_from(f_string_empty_s, 0);
assert_int_equal(F_status_set_fine(status), F_parameter);
}
}
-void test__fll_status_string_from__returns_data_not(void **state) {
+void test__fl_status_string_from__returns_data_not(void **state) {
{
f_status_t result = F_none;
- const f_status_t status = fll_status_string_from(f_string_empty_s, &result);
+ const f_status_t status = fl_status_string_from(f_string_empty_s, &result);
assert_int_equal(status, F_data_not);
}
}
-void test__fll_status_string_from__works(void **state) {
+void test__fl_status_string_from__works(void **state) {
const f_status_t statuss[] = {
F_false,
F_ascii_not,
F_atomic,
F_atomic_not,
+ F_base,
+ F_base_not,
F_begin,
F_begin_not,
F_block,
F_block_not,
F_body,
F_body_not,
+ F_bottom,
+ F_bottom_not,
F_bound,
F_bound_not,
F_break,
F_call_not,
F_capability,
F_capability_not,
+ F_character,
+ F_character_not,
F_child,
F_child_not,
F_complete,
F_failure_not,
F_family,
F_family_not,
+ F_fifo,
+ F_fifo_not,
F_first,
F_first_not,
F_footer,
F_memory_not,
F_message,
F_message_not,
+ F_middle,
+ F_middle_not,
F_minor,
F_minor_not,
F_moderate,
F_recover_not,
F_recurse,
F_recurse_not,
+ F_regular,
+ F_regular_not,
F_relative,
F_relative_not,
F_remote,
F_string_too_small,
F_success,
F_success_not,
- F_supported,
+ F_support,
F_support_not,
F_syntax,
F_syntax_not,
F_time_out,
F_too_large,
F_too_small,
+ F_top,
+ F_top_not,
F_type,
F_type_not,
F_user,
F_complete_not_utf_eof,
F_complete_not_utf_eol,
F_complete_not_utf_eos,
+ F_complete_not_utf_start,
F_complete_not_utf_stop,
F_none_block,
F_none_eoa,
F_none_eof,
F_none_eol,
F_none_eos,
+ F_none_start,
F_none_stop,
F_data,
F_data_not,
F_data_not_eof,
F_data_not_eol,
F_data_not_eos,
+ F_data_not_start,
F_data_not_stop,
F_end,
F_end_not,
F_end_not_group_eof,
F_end_not_group_eol,
F_end_not_group_eos,
+ F_end_not_group_start,
F_end_not_group_stop,
F_end_not_nest,
F_end_not_nest_block,
F_end_not_nest_eof,
F_end_not_nest_eol,
F_end_not_nest_eos,
+ F_end_not_nest_start,
F_end_not_nest_stop,
+ F_end_not_start,
F_end_not_stop,
F_process,
F_process_not,
F_directory_purge,
F_directory_read,
F_directory_stream,
- F_directory_supported_not,
+ F_directory_support_not,
F_directory_synchronize,
F_directory_utf,
F_directory_utf_not,
f_status_ascii_not_s,
f_status_atomic_s,
f_status_atomic_not_s,
+ f_status_base_s,
+ f_status_base_not_s,
f_status_begin_s,
f_status_begin_not_s,
f_status_block_s,
f_status_block_not_s,
f_status_body_s,
f_status_body_not_s,
+ f_status_bottom_s,
+ f_status_bottom_not_s,
f_status_bound_s,
f_status_bound_not_s,
f_status_break_s,
f_status_call_not_s,
f_status_capability_s,
f_status_capability_not_s,
+ f_status_character_s,
+ f_status_character_not_s,
f_status_child_s,
f_status_child_not_s,
f_status_complete_s,
f_status_failure_not_s,
f_status_family_s,
f_status_family_not_s,
+ f_status_fifo_s,
+ f_status_fifo_not_s,
f_status_first_s,
f_status_first_not_s,
f_status_footer_s,
f_status_memory_not_s,
f_status_message_s,
f_status_message_not_s,
+ f_status_middle_s,
+ f_status_middle_not_s,
f_status_minor_s,
f_status_minor_not_s,
f_status_moderate_s,
f_status_recover_not_s,
f_status_recurse_s,
f_status_recurse_not_s,
+ f_status_regular_s,
+ f_status_regular_not_s,
f_status_relative_s,
f_status_relative_not_s,
f_status_remote_s,
f_status_string_too_small_s,
f_status_success_s,
f_status_success_not_s,
- f_status_supported_s,
- f_status_supported_not_s,
+ f_status_support_s,
+ f_status_support_not_s,
f_status_syntax_s,
f_status_syntax_not_s,
f_status_terminate_s,
f_status_time_out_s,
f_status_too_large_s,
f_status_too_small_s,
+ f_status_top_s,
+ f_status_top_not_s,
f_status_type_s,
f_status_type_not_s,
f_status_user_s,
f_status_complete_not_utf_eof_s,
f_status_complete_not_utf_eol_s,
f_status_complete_not_utf_eos_s,
+ f_status_complete_not_utf_start_s,
f_status_complete_not_utf_stop_s,
f_status_none_block_s,
f_status_none_eoa_s,
f_status_none_eof_s,
f_status_none_eol_s,
f_status_none_eos_s,
+ f_status_none_start_s,
f_status_none_stop_s,
f_status_data_s,
f_status_data_not_s,
f_status_data_not_eof_s,
f_status_data_not_eol_s,
f_status_data_not_eos_s,
+ f_status_data_not_start_s,
f_status_data_not_stop_s,
f_status_end_s,
f_status_end_not_s,
f_status_end_not_group_eof_s,
f_status_end_not_group_eol_s,
f_status_end_not_group_eos_s,
+ f_status_end_not_group_start_s,
f_status_end_not_group_stop_s,
f_status_end_not_nest_s,
f_status_end_not_nest_block_s,
f_status_end_not_nest_eof_s,
f_status_end_not_nest_eol_s,
f_status_end_not_nest_eos_s,
+ f_status_end_not_nest_start_s,
f_status_end_not_nest_stop_s,
+ f_status_end_not_start_s,
f_status_end_not_stop_s,
f_status_process_s,
f_status_process_not_s,
f_status_directory_purge_s,
f_status_directory_read_s,
f_status_directory_stream_s,
- f_status_directory_supported_not_s,
+ f_status_directory_support_not_s,
f_status_directory_synchronize_s,
f_status_directory_utf_s,
f_status_directory_utf_not_s,
f_status_status_code_last_s,
};
- for (uint16_t i = 0; i < 591; ++i) {
+ for (uint16_t i = 0; i < 611; ++i) {
f_status_t result = F_none;
- const f_status_t status = fll_status_string_from(status_strings[i], &result);
+ const f_status_t status = fl_status_string_from(status_strings[i], &result);
assert_int_equal(status, F_none);
assert_int_equal(result, statuss[i]);
--- /dev/null
+/**
+ * FLL - Level 1
+ *
+ * Project: Status
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the status_string project.
+ */
+#ifndef _TEST__FL_status_string_from_h
+#define _TEST__FL_status_string_from_h
+
+/**
+ * Test that function fails.
+ *
+ * @see fl_status_string_from()
+ */
+extern void test__fl_status_string_from__fails(void **state);
+
+/**
+ * Test that parameter checking works as expected.
+ *
+ * @see fl_status_string_from()
+ */
+extern void test__fl_status_string_from__parameter_checking(void **state);
+
+/**
+ * Test that function returns F_data_not.
+ *
+ * @see fl_status_string_from()
+ */
+extern void test__fl_status_string_from__returns_data_not(void **state);
+
+/**
+ * Test that function works.
+ *
+ * @see fl_status_string_from()
+ */
+extern void test__fl_status_string_from__works(void **state);
+
+#endif // _TEST__FL_status_string_from_h
const struct CMUnitTest tests[] = {
- cmocka_unit_test(test__fll_status_string_from__fails),
- cmocka_unit_test(test__fll_status_string_from__returns_data_not),
- cmocka_unit_test(test__fll_status_string_from__works),
+ cmocka_unit_test(test__fl_status_string_from__fails),
+ cmocka_unit_test(test__fl_status_string_from__returns_data_not),
+ cmocka_unit_test(test__fl_status_string_from__works),
#ifndef _di_level_0_parameter_checking_
- cmocka_unit_test(test__fll_status_string_from__parameter_checking),
+ cmocka_unit_test(test__fl_status_string_from__parameter_checking),
#endif // _di_level_0_parameter_checking_
};
/**
- * FLL - Level 2
+ * FLL - Level 1
*
* Project: Status
* API Version: 0.7
*
* Test the status_string project.
*/
-#ifndef _TEST__FLL_status_string_h
-#define _TEST__FLL_status_string_h
+#ifndef _TEST__FL_status_string_h
+#define _TEST__FL_status_string_h
// Libc includes.
#include <stdarg.h>
// cmocka includes.
#include <cmocka.h>
-// FLL-2 includes.
-#include <fll/level_2/status_string.h>
+// FLL-1 includes.
+#include <fll/level_1/status_string.h>
// Mock includes.
} // extern "C"
#endif
-#endif // _TEST__FLL_status_string_h
+#endif // _TEST__FL_status_string_h
f_status_t status = F_none;
- if (!name.used) {
- return F_data_not;
- }
+ if (!name.used) return F_data_not;
// Numbers are not valid status code strings.
status = f_conversion_character_is_decimal(name.string[0]);
- if (status == F_true) {
- return F_status_set_error(F_data);
- }
-
- if (F_status_is_error(status)) {
- return status;
- }
+ if (status == F_true) return F_status_set_error(F_data);
+ if (F_status_is_error(status)) return status;
#ifndef _di_fll_fss_status_error_
if (f_compare_dynamic(name, fll_fss_status_format_s) == F_equal_to) {
return F_none;
}
- return F_status_set_error(F_data);
+ return fl_status_string_from(name, code);
}
#endif // _di_fll_fss_status_string_from_
return F_none;
}
-#endif // _di_fll_status_string_to_
+#endif // _di_fl_status_string_to_
#ifdef __cplusplus
} // extern "C"
#include <fll/level_0/parse.h>
#include <fll/level_0/status_string.h>
+// FLL-1 includes.
+#include <fll/level_1/status_string.h>
+
#ifdef __cplusplus
extern "C" {
#endif
* F_parameter (with error bit) if a parameter is invalid.
*
* Errors (with error bit) from: f_conversion_character_is_decimal().
+ * Errors (with error bit) from: fl_status_string_from().
+ *
+ * @see fl_status_string_from()
*/
#ifndef _di_fll_fss_status_string_from_
extern f_status_t fll_fss_status_string_from(const f_string_static_t name, f_status_t * const code);
f_fss
f_parse
f_status_string
+fl_status_string
build_language c
build_libraries -lc
-build_libraries-individual -lf_compare -lf_conversion -lf_fss -lf_parse -lf_memory -lf_status_string -lf_string -lf_type_array -lf_utf
+build_libraries-individual -lfl_status_string -lf_compare -lf_conversion -lf_fss -lf_parse -lf_memory -lf_status_string -lf_string -lf_type_array -lf_utf
build_sources_library fss_status_string.c
+++ /dev/null
-/**
- * FLL - Level 2
- *
- * Project: Status
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the status_string project.
- */
-#ifndef _TEST__FLL_status_string_from_h
-#define _TEST__FLL_status_string_from_h
-
-/**
- * Test that function fails.
- *
- * @see fll_status_string_from()
- */
-extern void test__fll_status_string_from__fails(void **state);
-
-/**
- * Test that parameter checking works as expected.
- *
- * @see fll_status_string_from()
- */
-extern void test__fll_status_string_from__parameter_checking(void **state);
-
-/**
- * Test that function returns F_data_not.
- *
- * @see fll_status_string_from()
- */
-extern void test__fll_status_string_from__returns_data_not(void **state);
-
-/**
- * Test that function works.
- *
- * @see fll_status_string_from()
- */
-extern void test__fll_status_string_from__works(void **state);
-
-#endif // _TEST__FLL_status_string_from_h
#include <fll/level_1/conversion.h>
#include <fll/level_1/fss.h>
#include <fll/level_1/print.h>
+#include <fll/level_1/status_string.h>
// FLL-2 includes.
#include <fll/level_2/error.h>
#include <fll/level_2/fss/payload.h>
#include <fll/level_2/print.h>
#include <fll/level_2/program.h>
-#include <fll/level_2/status_string.h>
// Control includes.
#include <program/control/common.h>
memcpy(name_string, data->cache.large.string + data->cache.header_contents.array[i].array[0].start, name_length);
name_string[name_length] = 0;
- status = fll_status_string_from(name, &header->status);
+ status = fl_status_string_from(name, &header->status);
if (F_status_is_error(status)) {
control_print_debug_packet_message(main, "Failed to process %[" CONTROL_status_s "%] in the response packet, Content is:", &data->cache.large, &data->cache.header_contents.array[i].array[0], &status);
* @see f_string_dynamic_increase_by()
* @see fl_conversion_dynamic_partial_to_unsigned_detect()
* @see f_fss_apply_delimit()
+ * @see fl_status_string_from()
* @see fll_fss_extended_read()
* @see fll_fss_basic_list_read()
- * @see fll_status_string_from()
*/
#ifndef _di_control_packet_receive_
extern f_status_t control_packet_receive(const fll_program_data_t * const main, control_data_t * const data, control_payload_header_t * const header) F_attribute_visibility_internal_d;
build_language c
build_libraries -lc
-build_libraries-individual -lfll_error -lfll_fss -lfll_print -lfll_program -lfll_status_string -lfl_conversion -lfl_fss -lfl_print -lf_color -lf_compare -lf_console -lf_conversion -lf_file -lf_fss -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_status_string -lf_string -lf_type_array -lf_utf
+build_libraries-individual -lfll_error -lfll_fss -lfll_print -lfll_program -lfl_conversion -lfl_fss -lfl_print -lfl_status_string -lf_color -lf_compare -lf_console -lf_conversion -lf_file -lf_fss -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_status_string -lf_string -lf_type_array -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
#include <fll/level_1/iki.h>
#include <fll/level_1/path.h>
#include <fll/level_1/print.h>
+#include <fll/level_1/status_string.h>
// FLL-2 includes.
#include <fll/level_2/control_group.h>
#include <fll/level_2/fss/payload.h>
#include <fll/level_2/print.h>
#include <fll/level_2/program.h>
-#include <fll/level_2/status_string.h>
// Controller includes.
#include <program/controller/common.h>
*
* state: The state information.
*
- * status_string_from: A pointer to the status string function (usually either fll_status_string_from() or fll_fss_status_string_from()).
+ * status_string_from: A pointer to the status string function (usually either fl_status_string_from() or fll_fss_status_string_from()).
* status_string_to: A pointer to the status string function (usually either f_status_string_to() or fll_fss_status_string_to()).
* status_string_help_detail: Print additional, more detailed help, in the help page.
*/
data.setting.program_name = &status_code_program_name_s;
data.setting.program_name_long = &status_code_program_name_long_s;
- data.setting.status_string_from = &fll_status_string_from;
+ data.setting.status_string_from = &fl_status_string_from;
data.setting.status_string_to = &f_status_string_to;
data.setting.status_string_help_detail = &status_code_print_message_help_detail;
* F_data_not if string is empty.
*
* Errors (with error bit) from: fl_console_parameter_to_number_unsigned().
+ * Errors (with error bit) from: fl_status_string_from().
* Errors (with error bit) from: fll_fss_status_string_to().
- * Errors (with error bit) from: fll_status_string_from().
*
* @see fl_console_parameter_to_number_unsigned()
+ * @see fl_status_string_from()
* @see fll_fss_status_string_from()
- * @see fll_status_string_from()
*/
#ifndef _di_status_code_process_number_
extern void status_code_process_number(status_code_main_t * const main, const f_string_static_t value);
// FLL-1 includes.
#include <fll/level_1/conversion.h>
#include <fll/level_1/print.h>
+#include <fll/level_1/status_string.h>
// FLL-2 includes.
#include <fll/level_2/error.h>
#include <fll/level_2/print.h>
#include <fll/level_2/program.h>
-#include <fll/level_2/status_string.h>
// Status Code includes.
#include <program/status_code/main/common/define.h>
fl_conversion
fl_directory
fl_print
+fl_status_string
fll_error
fll_print
fl_directory
fl_fss
fl_print
+fl_status_string
fll_error
fll_fss_status_string
build_language c
build_libraries -lc
-build_libraries-individual -lfll_error -lfll_print -lfll_program -lfll_status_string -lfl_conversion -lfl_directory -lfl_print -lf_color -lf_compare -lf_console -lf_conversion -lf_directory -lf_file -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_status_string -lf_string -lf_type_array -lf_utf
+build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_conversion -lfl_directory -lfl_print -lfl_status_string -lf_color -lf_compare -lf_console -lf_conversion -lf_directory -lf_file -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_status_string -lf_string -lf_type_array -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_language c
build_libraries -lc -lstatus_code
-build_libraries-individual -lfll_error -lfll_fss_status_string -lfll_print -lfll_program -lfll_status_string -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lf_color -lf_compare -lf_console -lf_conversion -lf_directory -lf_file -lf_fss -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_status_string -lf_string -lf_type_array -lf_utf
+build_libraries-individual -lfll_error -lfll_fss_status_string -lfll_print -lfll_program -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status_string -lf_color -lf_compare -lf_console -lf_conversion -lf_directory -lf_file -lf_fss -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_status_string -lf_string -lf_type_array -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_language c
build_libraries -lc -lstatus_code
-build_libraries-individual -lfll_error -lfll_print -lfll_program -lfll_status_string -lfl_conversion -lfl_directory -lfl_print -lf_color -lf_console -lf_conversion -lf_directory -lf_file -lf_memory -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_status_string -lf_string -lf_type_array -lf_utf
+build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_conversion -lfl_directory -lfl_print -lfl_status_string -lf_color -lf_console -lf_conversion -lf_directory -lf_file -lf_memory -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_status_string -lf_string -lf_type_array -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll