#ifndef _di_fll_program_parameter_additional_mash_
f_return_status fll_program_parameter_additional_mash(const f_string glue, const f_string_length glue_length, const f_string *argv, const f_string_lengths additional, f_string_dynamic *destination) {
#ifndef _di_level_2_parameter_checking_
+ if (argv == 0) return f_status_set_error(f_invalid_parameter);
if (glue_length < 1) return f_status_set_error(f_invalid_parameter);
if (destination == 0) return f_status_set_error(f_invalid_parameter);
#endif // _di_level_2_parameter_checking_
}
#endif // _di_fll_program_parameter_additional_mash_
-#ifndef _di_fll_program_parameter_additional_trim_mash_
- f_return_status fll_program_parameter_additional_trim_mash(const f_string glue, const f_string_length glue_length, const f_string *argv, const f_string_lengths additional, f_string_dynamic *destination) {
+#ifndef _di_fll_program_parameter_additional_mash_trim_
+ f_return_status fll_program_parameter_additional_mash_trim(const f_string glue, const f_string_length glue_length, const f_string *argv, const f_string_lengths additional, f_string_dynamic *destination) {
#ifndef _di_level_2_parameter_checking_
+ if (argv == 0) return f_status_set_error(f_invalid_parameter);
if (glue_length < 1) return f_status_set_error(f_invalid_parameter);
if (destination == 0) return f_status_set_error(f_invalid_parameter);
#endif // _di_level_2_parameter_checking_
return status;
}
-#endif // _di_fll_program_parameter_additional_trim_mash_
+#endif // _di_fll_program_parameter_additional_mash_trim_
#ifdef __cplusplus
} // extern "C"
* The number of bytes the glue takes up.
* @param argv
* The program argument array to parse.
+ * @param additional
+ * The string locations where the console parameters are found.
* @param destination
* The destination string the source and glue are appended onto.
*
#ifndef _di_fll_program_parameter_additional_mash_
extern f_return_status fll_program_parameter_additional_mash(const f_string glue, const f_string_length glue_length, const f_string *argv, const f_string_lengths additional, f_string_dynamic *destination);
#endif // _di_fll_program_parameter_additional_mash_
-
/**
* Mash together all additional arguments associated with a given console parameter.
*
* The number of bytes the glue takes up.
* @param argv
* The program argument array to parse.
+ * @param additional
+ * The string locations where the console parameters are found.
* @param destination
* The destination string the source and glue are appended onto.
*
* f_error_allocation (with error bit) on memory allocation error.
* f_error_reallocation (with error bit) on memory reallocation error.
*/
-#ifndef _di_fll_program_parameter_additional_trim_mash_
- extern f_return_status fll_program_parameter_additional_trim_mash(const f_string glue, const f_string_length glue_length, const f_string *argv, const f_string_lengths additional, f_string_dynamic *destination);
-#endif // _di_fll_program_parameter_additional_trim_mash_
+#ifndef _di_fll_program_parameter_additional_mash_trim_
+ extern f_return_status fll_program_parameter_additional_mash_trim(const f_string glue, const f_string_length glue_length, const f_string *argv, const f_string_lengths additional, f_string_dynamic *destination);
+#endif // _di_fll_program_parameter_additional_mash_trim_
#ifdef __cplusplus
} // extern "C"