*/
#ifndef _di_f_console_arguments_
typedef struct {
- const int argc;
- const f_string *argv;
+ const unsigned long argc;
+ const f_string *argv;
} f_console_arguments;
#endif // _di_f_console_arguments_
f_console_id result = 0;
f_bool found = f_false;
- f_array_length location = 1; // Parameter 0 represents the program name so skip it.
+ unsigned long location = 1; // Parameter 0 represents the program name so skip it.
f_string_length sub_location = 0;
f_string_length increment_by = 0;
f_string_length string_length = 0;
needs_additional.array[i] = needs_additional.array[i + 1];
} // for
}
- else if (console_short > f_console_none) {
+ else if (console_short != f_console_none) {
// The sub_location is used on a per increment basis (such as 'tar -xcf', the '-' would have an increment of 1, therefore x, c, and f would all be three separate parameters).
while (sub_location < string_length) {
for (parameter_counter = 0; parameter_counter < parameters.used; parameter_counter++) {
return f_status_set_error(status);
}
-
if (choice == byte_dump_parameter_hexidecimal) {
data->mode = byte_dump_mode_hexidecimal;
}
#include <level_3/byte_dump.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
byte_dump_data data = byte_dump_data_initialize;
#include <level_0/status.h>
#include <level_3/firewall.h>
-int main(const int argc, const f_string *argv) {
+int main(const f_s_int argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
firewall_data data = firewall_data_initialize;
#include <level_3/fss_basic_list_read.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_basic_list_read_data data = fss_basic_list_read_data_initialize;
#include <level_3/fss_basic_list_write.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_basic_list_write_data data = fss_basic_list_write_data_initialize;
#include <level_3/fss_basic_read.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_basic_read_data data = fss_basic_read_data_initialize;
#include <level_3/fss_basic_write.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_basic_write_data data = fss_basic_write_data_initialize;
#include <level_3/fss_extended_read.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_extended_read_data data = fss_extended_read_data_initialize;
#include <level_3/fss_extended_write.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_extended_write_data data = fss_extended_write_data_initialize;
#include <level_3/fss_status_code.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
fss_status_code_data data = fss_status_code_data_initialize;
#include <level_3/init.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
init_argument data = init_argument_initialize;
#include <level_3/status_code.h>
-int main(const int argc, const f_string *argv) {
+int main(const unsigned long argc, const f_string *argv) {
const f_console_arguments arguments = { argc, argv };
status_code_data data = status_code_data_initialize;