Update the build settings file to be more in line with the FLL program build settings files.
Update the structure where I noticed it has become out of synchronization with the FLL programs structure.
Fix minor mistakes such as "utf8" is present in the file when it should instead be "remove".
version_file micro
version_target minor
-modes individual individual level monolithic clang test fanalyzer coverage thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer thread threadless
modes_default monolithic thread
build_compiler gcc
build_language c
build_libraries -lc
-build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_conversion -fl_directory -lfl_print -lf_account -lf_color -lf_compare -lf_console -lf_conversion -lf_directory -lf_file -lf_memory -lf_pipe -lf_print -lf_rip -lf_signal -lf_string -lf_thread -lf_type_array -lf_utf
+build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_conversion -fl_directory -lfl_print -lf_account -lf_color -lf_compare -lf_console -lf_conversion -lf_directory -lf_file -lf_memory -lf_pipe -lf_print -lf_rip -lf_signal -lf_string -lf_type_array -lf_utf
+build_libraries-individual_thread -lf_thread
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
}
#endif // _di_kt_remove_modes_resize_
-#ifndef _di_kt_remove_setting_delete_
- f_status_t kt_remove_setting_delete(kt_remove_setting_t * const setting) {
-
- if (!setting) return F_status_set_error(F_parameter);
-
- f_string_dynamic_resize(0, &setting->buffer);
- f_string_dynamics_resize(0, &setting->files);
-
- kt_remove_dates_resize(0, &setting->accessed);
- kt_remove_dates_resize(0, &setting->changed);
- kt_remove_dates_resize(0, &setting->updated);
- kt_remove_modes_resize(0, &setting->modes);
-
- f_uint32s_resize(0, &setting->groups);
- f_uint32s_resize(0, &setting->users);
-
- f_directory_recurse_do_delete(&setting->recurse);
-
- return F_none;
- }
-#endif // _di_kt_remove_setting_delete_
-
#ifndef _di_kt_remove_setting_load_
void kt_remove_setting_load(const f_console_arguments_t arguments, kt_remove_main_t * const main) {
if (main->program.parameters.array[kt_remove_parameter_help_e].result & f_console_result_found_e) {
main->setting.flag |= kt_remove_main_flag_help_e;
}
+ else {
+ main->setting.flag -= main->setting.flag & kt_remove_main_flag_help_e;
+ }
if (main->program.parameters.array[kt_remove_parameter_version_e].result & f_console_result_found_e) {
main->setting.flag |= kt_remove_main_flag_version_e;
}
+ else {
+ main->setting.flag -= main->setting.flag & kt_remove_main_flag_version_e;
+ }
if (main->program.parameters.array[kt_remove_parameter_copyright_e].result & f_console_result_found_e) {
main->setting.flag |= kt_remove_main_flag_copyright_e;
}
+ else {
+ main->setting.flag -= main->setting.flag & kt_remove_main_flag_copyright_e;
+ }
if (main->program.parameters.array[kt_remove_parameter_block_e].result & f_console_result_found_e) {
main->setting.flag |= kt_remove_main_flag_block_e;
}
#endif // _di_kt_remove_setting_load_
-#ifndef _di_kt_remove_setting_unload_
- f_status_t kt_remove_setting_unload(kt_remove_main_t * const main) {
-
- if (!main) return F_status_set_error(F_parameter);
-
- kt_remove_setting_delete(&main->setting);
-
- return F_none;
- }
-#endif // _di_kt_remove_setting_unload_
-
#ifdef __cplusplus
} // extern "C"
#endif
#endif // _di_kt_remove_modes_resize_
/**
- * Delete the program main setting data.
- *
- * @param setting
- * The program main setting data.
- *
- * This does not alter main.setting.state.status.
- *
- * @return
- * F_none on success.
- *
- * F_parameter (with error bit) if a parameter is invalid.
- */
-#ifndef _di_kt_remove_setting_delete_
- extern f_status_t kt_remove_setting_delete(kt_remove_setting_t * const setting);
-#endif // _di_kt_remove_setting_delete_
-
-/**
* Perform the standard program setting load process.
*
* This prints error messages as appropriate.
extern void kt_remove_setting_load(const f_console_arguments_t arguments, kt_remove_main_t * const main);
#endif // _di_kt_remove_setting_load_
-/**
- * Perform the standard program setting unload process.
- *
- * @param main
- * The main program and settings data.
- *
- * All buffers are deallocated.
- *
- * This does not alter setting.status.
- *
- * @return
- * F_none on success.
- *
- * F_parameter (with error bit) if a parameter is invalid.
- *
- * Errors (with error bit) from: kt_remove_setting_delete().
- *
- * @see kt_remove_setting_delete()
- */
-#ifndef _di_kt_remove_setting_unload_
- extern f_status_t kt_remove_setting_unload(kt_remove_main_t * const main);
-#endif // _di_kt_remove_setting_unload_
-
#ifdef __cplusplus
} // extern "C"
#endif
#define KT_REMOVE_program_help_parameters_s_length 7
extern const f_string_static_t kt_remove_program_help_parameters_s;
-#endif // _di_utf8_program_help_parameters_s_
+#endif // kt_remove_program_help_parameters_s_
/**
* Additional strings used for various purposes.
extern "C" {
#endif
+#ifndef _di_kt_remove_main_delete_
+ void kt_remove_main_delete(kt_remove_main_t * const main) {
+
+ if (!main) return;
+
+ fll_program_data_delete(&main->program);
+ kt_remove_setting_delete(&main->setting);
+ }
+#endif // _di_kt_remove_main_delete_
+
+#ifndef _di_kt_remove_setting_delete_
+ f_status_t kt_remove_setting_delete(kt_remove_setting_t * const setting) {
+
+ if (!setting) return F_status_set_error(F_parameter);
+
+ f_string_dynamic_resize(0, &setting->buffer);
+ f_string_dynamics_resize(0, &setting->files);
+
+ kt_remove_dates_resize(0, &setting->accessed);
+ kt_remove_dates_resize(0, &setting->changed);
+ kt_remove_dates_resize(0, &setting->updated);
+ kt_remove_modes_resize(0, &setting->modes);
+
+ f_uint32s_resize(0, &setting->groups);
+ f_uint32s_resize(0, &setting->users);
+
+ f_directory_recurse_do_delete(&setting->recurse);
+
+ return F_none;
+ }
+#endif // _di_kt_remove_setting_delete_
+
#ifdef __cplusplus
} // extern "C"
#endif
}
#endif // _di_kt_remove_main_t_
+/**
+ * Deallocate main program data.
+ *
+ * @param setting_make
+ * The make setting data.
+ *
+ * This does not alter main.setting.state.status.
+ */
+#ifndef _di_kt_remove_main_delete_
+ extern void kt_remove_main_delete(kt_remove_main_t * const main);
+#endif // _di_kt_remove_main_delete_
+
+/**
+ * Delete the program main setting data.
+ *
+ * @param setting
+ * The program main setting data.
+ *
+ * This does not alter setting.state.status.
+ *
+ * @return
+ * F_none on success.
+ *
+ * F_parameter (with error bit) if a parameter is invalid.
+ */
+#ifndef _di_kt_remove_setting_delete_
+ extern f_status_t kt_remove_setting_delete(kt_remove_setting_t * const setting);
+#endif // _di_kt_remove_setting_delete_
+
#ifdef __cplusplus
} // extern "C"
#endif
}
#endif // _di_thread_support_
- kt_remove_setting_unload(&data);
-
- fll_program_data_delete(&data.program);
+ kt_remove_main_delete(&data);
fll_program_standard_set_down(&data.program);
kt_remove_program_help_parameters_s
);
- fl_print_format(" The parameters '%[%r%r%]', ", print->to, context.set.notable, f_console_symbol_long_normal_s, kt_remove_long_accessed_s, context.set.notable);
+ fl_print_format("%r The parameters '%[%r%r%]', ", print->to, f_string_eol_s, context.set.notable, f_console_symbol_long_normal_s, kt_remove_long_accessed_s, context.set.notable);
fl_print_format("'%[%r%r%]', ", print->to, context.set.notable, f_console_symbol_long_normal_s, kt_remove_long_changed_s, context.set.notable);
fl_print_format("'%[%r%r%]', ", print->to, context.set.notable, f_console_symbol_long_normal_s, kt_remove_long_group_s, context.set.notable);
fl_print_format("'%[%r%r%]', ", print->to, context.set.notable, f_console_symbol_long_normal_s, kt_remove_long_mode_s, context.set.notable);