f_utf
f_account
f_color
+f_compare
f_console
f_conversion
f_file
f_print
+f_rip
f_signal
f_thread
build_language c
build_libraries -lc
-build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_conversion -lfl_print -lfl_string -lf_account -lf_color -lf_console -lf_conversion -lf_file -lf_memory -lf_pipe -lf_print -lf_signal -lf_string -lf_type_array -lf_utf
+build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_conversion -lfl_print -lf_account -lf_color -lf_compare -lf_console -lf_conversion -lf_file -lf_memory -lf_pipe -lf_print -lf_rip -lf_signal -lf_string -lf_thread -lf_type_array -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
for (j = 0; j < 12; ++j) {
- if (fl_string_dynamic_compare(main->program.parameters.arguments.array[index], strings[j]) == F_equal_to) {
+ if (f_compare_dynamic(main->program.parameters.arguments.array[index], strings[j]) == F_equal_to) {
dates[p]->array[dates[p]->used].operation = enumerations[j];
index2 = parameters[p]->values.array[i + 1];
index = main->program.parameters.array[kt_remove_parameter_empty_e].values.array[total_arguments - 1];
- if (fl_string_dynamic_compare(kt_remove_not_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ if (f_compare_dynamic(kt_remove_not_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_empty_not_e;
if (main->setting.flag & kt_remove_main_flag_empty_not_fail_e) {
main->setting.flag -= kt_remove_main_flag_empty_only_fail_e;
}
}
- else if (fl_string_dynamic_compare(kt_remove_not_fail_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ else if (f_compare_dynamic(kt_remove_not_fail_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_empty_not_fail_e;
if (main->setting.flag & kt_remove_main_flag_empty_not_e) {
main->setting.flag -= kt_remove_main_flag_empty_only_fail_e;
}
}
- else if (fl_string_dynamic_compare(kt_remove_only_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ else if (f_compare_dynamic(kt_remove_only_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_empty_only_e;
if (main->setting.flag & kt_remove_main_flag_empty_not_e) {
main->setting.flag -= kt_remove_main_flag_empty_only_fail_e;
}
}
- else if (fl_string_dynamic_compare(kt_remove_only_fail_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ else if (f_compare_dynamic(kt_remove_only_fail_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_empty_only_fail_e;
if (main->setting.flag & kt_remove_main_flag_empty_not_e) {
//
// index = main->program.parameters.array[kt_remove_parameter_isolate_e].values.array[total_arguments - 1];
//
- // if (fl_string_dynamic_compare(kt_remove_all_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ // if (f_compare_dynamic(kt_remove_all_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
// main->setting.flag |= kt_remove_main_flag_isolate_all_e;
//
// if (main->setting.flag & kt_remove_main_flag_isolate_ignore_e) {
// main->setting.flag -= kt_remove_main_flag_isolate_root_e;
// }
// }
- // else if (fl_string_dynamic_compare(kt_remove_ignore_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ // else if (f_compare_dynamic(kt_remove_ignore_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
// main->setting.flag |= kt_remove_main_flag_isolate_ignore_e;
//
// if (main->setting.flag & kt_remove_main_flag_isolate_all_e) {
// main->setting.flag -= kt_remove_main_flag_isolate_root_e;
// }
// }
- // else if (fl_string_dynamic_compare(kt_remove_root_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ // else if (f_compare_dynamic(kt_remove_root_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
// main->setting.flag |= kt_remove_main_flag_isolate_root_e;
//
// if (main->setting.flag & kt_remove_main_flag_isolate_all_e) {
for (j = 0; j < 8; ++j) {
- if (fl_string_dynamic_compare(main->program.parameters.arguments.array[index], strings[j]) == F_equal_to) {
+ if (f_compare_dynamic(main->program.parameters.arguments.array[index], strings[j]) == F_equal_to) {
main->setting.modes.array[main->setting.modes.used].type = enumerations[j];
index2 = main->program.parameters.array[kt_remove_parameter_mode_e].values.array[i + 1];
index = main->program.parameters.array[kt_remove_parameter_prompt_e].values.array[total_arguments - 1];
- if (fl_string_dynamic_compare(kt_remove_all_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ if (f_compare_dynamic(kt_remove_all_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_prompt_all_e;
if (main->setting.flag & kt_remove_main_flag_prompt_follow_e) {
main->setting.flag -= kt_remove_main_flag_prompt_never_e;
}
}
- else if (fl_string_dynamic_compare(kt_remove_follow_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ else if (f_compare_dynamic(kt_remove_follow_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_prompt_follow_e;
if (main->setting.flag & kt_remove_main_flag_prompt_all_e) {
main->setting.flag -= kt_remove_main_flag_prompt_never_e;
}
}
- else if (fl_string_dynamic_compare(kt_remove_once_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ else if (f_compare_dynamic(kt_remove_once_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_prompt_once_e;
if (main->setting.flag & kt_remove_main_flag_prompt_all_e) {
main->setting.flag -= kt_remove_main_flag_prompt_never_e;
}
}
- else if (fl_string_dynamic_compare(kt_remove_never_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
+ else if (f_compare_dynamic(kt_remove_never_s, main->program.parameters.arguments.array[index]) == F_equal_to) {
main->setting.flag |= kt_remove_main_flag_prompt_never_e;
if (main->setting.flag & kt_remove_main_flag_prompt_all_e) {
for (uint8_t i = 0; i < 4; ++i) {
- if (fl_string_dynamic_compare(buffer, strings[i]) == F_equal_to) {
+ if (f_compare_dynamic(buffer, strings[i]) == F_equal_to) {
date->type = enumerations[i];
kt_remove_convert_date_relative(main, date);
if (matches & kt_remove_flag_convert_colon_e) {
// Search until a colon or a digit is found.
- if (fl_string_dynamic_compare_string(buffer.string + range.start, f_string_ascii_colon_s, width) == F_equal_to) {
+ if (f_compare_dynamic_string(buffer.string + range.start, f_string_ascii_colon_s, width) == F_equal_to) {
// A third colon is not valid.
if (matches & kt_remove_flag_convert_colon_double_e) {
if (matches & kt_remove_flag_convert_match_first_e) {
- if (fl_string_dynamic_compare_string(buffer.string + range.start, f_string_ascii_colon_s, width) == F_equal_to) {
+ if (f_compare_dynamic_string(buffer.string + range.start, f_string_ascii_colon_s, width) == F_equal_to) {
matches |= kt_remove_flag_convert_colon_single_e;
continue;
if (main->setting.state.status == F_true) continue;
- if (fl_string_dynamic_compare_string(buffer.string + range.start, f_string_ascii_colon_s, width) == F_equal_to) {
+ if (f_compare_dynamic_string(buffer.string + range.start, f_string_ascii_colon_s, width) == F_equal_to) {
matches |= kt_remove_flag_convert_colon_single_e;
continue;
if (F_status_set_fine(main->setting.state.status) == F_number) {
main->setting.buffer.used = 0;
- main->setting.state.status = fl_string_dynamic_rip_nulless(buffer, &main->setting.buffer);
+ main->setting.state.status = f_rip_dynamic_nulless(buffer, &main->setting.buffer);
if (F_status_is_error(main->setting.state.status)) return 0;
gid_t gid = 0;
if (F_status_set_fine(main->setting.state.status) == F_number) {
main->setting.buffer.used = 0;
- main->setting.state.status = fl_string_dynamic_rip_nulless(buffer, &main->setting.buffer);
+ main->setting.state.status = f_rip_dynamic_nulless(buffer, &main->setting.buffer);
if (F_status_is_error(main->setting.state.status)) return 0;
uid_t uid = 0;
* F_number_too_small (with error bit) if the given ID is too small.
* F_known_not (with error bit) if the given string is not of a known format
*
+ * Errors (with error bit) from: f_rip_dynamic_nulless().
* Errors (with error bit) from: fl_conversion_dynamic_partial_to_unsigned_detect().
- * Errors (with error bit) from: fl_string_dynamic_partial_rip_nulless().
*
* Errors (with error bit) from: kt_remove_get_date_relative().
* @param buffer
* @param date
* The converted date.
*
+ * @see f_rip_dynamic_nulless()
* @see fl_conversion_dynamic_partial_to_unsigned_detect()
- * @see fl_string_dynamic_partial_rip_nulless()
*
* @see kt_remove_get_date_relative()
*/
* F_number_too_large (with error bit) if the given ID is too large.
*
* Errors (with error bit) from: f_account_group_id_by_name().
+ * Errors (with error bit) from: f_rip_dynamic_nulless().
* Errors (with error bit) from: fl_conversion_dynamic_to_unsigned_detect().
- * Errors (with error bit) from: fl_string_dynamic_rip_nulless().
* @param buffer
* A string containing group name or ID.
*
* @see f_account_group_id_by_name()
+ * @see f_rip_dynamic_nulless()
* @see fl_conversion_dynamic_to_unsigned_detect()
- * @see fl_string_dynamic_rip_nulless()
*/
#ifndef _di_kt_remove_get_id_group_
extern uint32_t kt_remove_get_id_group(kt_remove_main_t * const main, const f_string_static_t buffer);
* F_number_too_large (with error bit) if the given ID is too large.
*
* Errors (with error bit) from: f_account_group_id_by_name().
+ * Errors (with error bit) from: f_rip_dynamic_nulless().
* Errors (with error bit) from: fl_conversion_dynamic_to_unsigned_detect().
- * Errors (with error bit) from: fl_string_dynamic_rip_nulless().
* @param buffer
* A string containing group name or ID.
*
* @see f_account_id_by_name()
+ * @see f_rip_dynamic_nulless()
* @see fl_conversion_dynamic_to_unsigned_detect()
- * @see fl_string_dynamic_rip_nulless()
*/
#ifndef _di_kt_remove_get_id_user_
extern uint32_t kt_remove_get_id_user(kt_remove_main_t * const main, const f_string_static_t buffer);
#include <fll/level_0/utf.h>
#include <fll/level_0/account.h>
#include <fll/level_0/color.h>
+#include <fll/level_0/compare.h>
#include <fll/level_0/console.h>
#include <fll/level_0/conversion.h>
#include <fll/level_0/file.h>
#include <fll/level_0/fss.h>
#include <fll/level_0/pipe.h>
#include <fll/level_0/print.h>
+#include <fll/level_0/rip.h>
#include <fll/level_0/signal.h>
#include <fll/level_0/thread.h>
// FLL-1 includes.
#include <fll/level_1/conversion.h>
#include <fll/level_1/print.h>
-#include <fll/level_1/string.h>
// FLL-2 includes.
#include <fll/level_2/error.h>