The read functions do not have _string().
This makes the code more consistent.
}
#endif // _di_fl_fss_basic_content_read_
-#ifndef _di_fl_fss_basic_object_write_string_
- f_status_t fl_fss_basic_object_write_string(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_basic_object_write_
+ f_status_t fl_fss_basic_object_write(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return status;
}
-#endif // _di_fl_fss_basic_object_write_string_
+#endif // _di_fl_fss_basic_object_write_
-#ifndef _di_fl_fss_basic_content_write_string_
- f_status_t fl_fss_basic_content_write_string(const f_string_static_t content, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_basic_content_write_
+ f_status_t fl_fss_basic_content_write(const f_string_static_t content, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return F_none_eos;
}
-#endif // _di_fl_fss_basic_content_write_string_
+#endif // _di_fl_fss_basic_content_write_
#ifdef __cplusplus
} // extern "C"
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_basic_object_write_string_
- extern f_status_t fl_fss_basic_object_write_string(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_basic_object_write_string_
+#ifndef _di_fl_fss_basic_object_write_
+ extern f_status_t fl_fss_basic_object_write(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_basic_object_write_
/**
* Write an fss-0000 content from a given string.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if appended string length is too large to store in the destination.
*/
-#ifndef _di_fl_fss_basic_content_write_string_
- extern f_status_t fl_fss_basic_content_write_string(const f_string_static_t content, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_basic_content_write_string_
+#ifndef _di_fl_fss_basic_content_write_
+ extern f_status_t fl_fss_basic_content_write(const f_string_static_t content, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_basic_content_write_
#ifdef __cplusplus
} // extern "C"
}
#endif // _di_fl_fss_basic_list_content_read_
-#ifndef _di_fl_fss_basic_list_object_write_string_
- f_status_t fl_fss_basic_list_object_write_string(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_basic_list_object_write_
+ f_status_t fl_fss_basic_list_object_write(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
return F_none;
}
-#endif // _di_fl_fss_basic_list_object_write_string_
+#endif // _di_fl_fss_basic_list_object_write_
-#ifndef _di_fl_fss_basic_list_content_write_string_
- f_status_t fl_fss_basic_list_content_write_string(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_basic_list_content_write_
+ f_status_t fl_fss_basic_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return F_none;
}
-#endif // _di_fl_fss_basic_list_content_write_string_
+#endif // _di_fl_fss_basic_list_content_write_
#ifdef __cplusplus
} // extern "C"
*
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_basic_list_object_write_string_
- extern f_status_t fl_fss_basic_list_object_write_string(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_basic_list_object_write_string_
+#ifndef _di_fl_fss_basic_list_object_write_
+ extern f_status_t fl_fss_basic_list_object_write(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_basic_list_object_write_
/**
* Write an fss-0002 content from a given string.
*
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_basic_list_content_write_string_
- extern f_status_t fl_fss_basic_list_content_write_string(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_basic_list_content_write_string_
+#ifndef _di_fl_fss_basic_list_content_write_
+ extern f_status_t fl_fss_basic_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_basic_list_content_write_
#ifdef __cplusplus
} // extern "C"
}
#endif // _di_fl_fss_embedded_list_content_read_
-#ifndef _di_fl_fss_embedded_list_object_write_string_
- f_status_t fl_fss_embedded_list_object_write_string(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_embedded_list_object_write_
+ f_status_t fl_fss_embedded_list_object_write(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
return F_none;
}
-#endif // _di_fl_fss_embedded_list_object_write_string_
+#endif // _di_fl_fss_embedded_list_object_write_
-#ifndef _di_fl_fss_embedded_list_content_write_string_
- f_status_t fl_fss_embedded_list_content_write_string(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_embedded_list_content_write_
+ f_status_t fl_fss_embedded_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return F_none;
}
-#endif // _di_fl_fss_embedded_list_content_write_string_
+#endif // _di_fl_fss_embedded_list_content_write_
#ifdef __cplusplus
} // extern "C"
*
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_embedded_list_object_write_string_
- extern f_status_t fl_fss_embedded_list_object_write_string(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_embedded_list_object_write_string_
+#ifndef _di_fl_fss_embedded_list_object_write_
+ extern f_status_t fl_fss_embedded_list_object_write(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_embedded_list_object_write_
/**
* Write an fss-0008 content from a given string.
*
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_embedded_list_content_write_string_
- extern f_status_t fl_fss_embedded_list_content_write_string(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_embedded_list_content_write_string_
+#ifndef _di_fl_fss_embedded_list_content_write_
+ extern f_status_t fl_fss_embedded_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_embedded_list_content_write_
#ifdef __cplusplus
} // extern "C"
}
#endif // _di_fl_fss_extended_content_read_
-#ifndef _di_fl_fss_extended_object_write_string_
-f_status_t fl_fss_extended_object_write_string(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_extended_object_write_
+f_status_t fl_fss_extended_object_write(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return status;
}
-#endif // _di_fl_fss_extended_object_write_string_
+#endif // _di_fl_fss_extended_object_write_
-#ifndef _di_fl_fss_extended_content_write_string_
- f_status_t fl_fss_extended_content_write_string(const f_string_static_t content, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_extended_content_write_
+ f_status_t fl_fss_extended_content_write(const f_string_static_t content, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return status;
}
-#endif // _di_fl_fss_extended_content_write_string_
+#endif // _di_fl_fss_extended_content_write_
#ifdef __cplusplus
} // extern "C"
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_extended_object_write_string_
- extern f_status_t fl_fss_extended_object_write_string(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_extended_object_write_string_
+#ifndef _di_fl_fss_extended_object_write_
+ extern f_status_t fl_fss_extended_object_write(const f_string_static_t object, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_extended_object_write_
/**
* Write an fss-0001 content from a given string.
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_extended_content_write_string_
- extern f_status_t fl_fss_extended_content_write_string(const f_string_static_t content, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_extended_content_write_string_
+#ifndef _di_fl_fss_extended_content_write_
+ extern f_status_t fl_fss_extended_content_write(const f_string_static_t content, const f_fss_quote_t quote, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_extended_content_write_
#ifdef __cplusplus
} // extern "C"
}
#endif // _di_fl_fss_extended_list_content_read_
-#ifndef _di_fl_fss_extended_list_object_write_string_
- f_status_t fl_fss_extended_list_object_write_string(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_extended_list_object_write_
+ f_status_t fl_fss_extended_list_object_write(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
return F_none;
}
-#endif // _di_fl_fss_extended_list_object_write_string_
+#endif // _di_fl_fss_extended_list_object_write_
-#ifndef _di_fl_fss_extended_list_content_write_string_
- f_status_t fl_fss_extended_list_content_write_string(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
+#ifndef _di_fl_fss_extended_list_content_write_
+ f_status_t fl_fss_extended_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
#ifndef _di_level_1_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
return F_none;
}
-#endif // _di_fl_fss_extended_list_content_write_string_
+#endif // _di_fl_fss_extended_list_content_write_
#ifdef __cplusplus
} // extern "C"
*
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_extended_list_object_write_string_
- extern f_status_t fl_fss_extended_list_object_write_string(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_extended_list_object_write_string_
+#ifndef _di_fl_fss_extended_list_object_write_
+ extern f_status_t fl_fss_extended_list_object_write(const f_string_static_t object, const uint8_t complete, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_extended_list_object_write_
/**
* Write an fss-0003 content from a given string.
*
* Errors (with error bit) from: f_utf_buffer_increment().
*/
-#ifndef _di_fl_fss_extended_list_content_write_string_
- extern f_status_t fl_fss_extended_list_content_write_string(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
-#endif // _di_fl_fss_extended_list_content_write_string_
+#ifndef _di_fl_fss_extended_list_content_write_
+ extern f_status_t fl_fss_extended_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t *prepend, const f_string_ranges_t *ignore, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination);
+#endif // _di_fl_fss_extended_list_content_write_
#ifdef __cplusplus
} // extern "C"
extern "C" {
#endif
-#if !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_)
+#if !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
f_status_t private_fl_fss_basic_write_object_trim(const f_fss_quote_t quote, const f_array_length_t used_start, f_state_t state, f_string_dynamic_t *destination) {
f_status_t status = F_none;
return F_none;
}
-#endif // !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_)
+#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
-#if !defined(_di_fl_fss_basic_list_content_write_string_) || !defined(_di_fl_fss_extended_list_content_write_string_) || !defined(_di_fl_fss_embedded_list_content_write_string_)
+#if !defined(_di_fl_fss_basic_list_content_write_) || !defined(_di_fl_fss_extended_list_content_write_) || !defined(_di_fl_fss_embedded_list_content_write_)
f_status_t private_fl_fss_basic_list_write_add_until_end(const f_string_static_t buffer, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
f_status_t status = F_none;
return status;
}
-#endif // !defined(_di_fl_fss_basic_list_content_write_string_) || !defined(_di_fl_fss_extended_list_content_write_string_) || !defined(_di_fl_fss_embedded_list_content_write_string_)
+#endif // !defined(_di_fl_fss_basic_list_content_write_) || !defined(_di_fl_fss_extended_list_content_write_) || !defined(_di_fl_fss_embedded_list_content_write_)
-#if !defined(_di_fl_fss_basic_list_object_write_string_) || !defined(_di_fl_fss_extended_list_object_write_string_)
+#if !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
f_status_t private_fl_fss_basic_list_write_object_trim(const f_array_length_t used_start, f_state_t state, f_string_dynamic_t *destination) {
f_status_t status = F_none;
return F_none;
}
-#endif // !defined(_di_fl_fss_basic_list_object_write_string_) || !defined(_di_fl_fss_extended_list_object_write_string_)
+#endif // !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
#if !defined(_di_fl_fss_basic_object_read_) || !defined(_di_fl_fss_extended_object_read_) || !defined(_di_fl_fss_extended_content_read_)
f_status_t private_fl_fss_basic_read(const f_string_static_t buffer, const bool object_as, f_state_t state, f_string_range_t *range, f_fss_object_t *found, f_fss_quote_t *quote, f_fss_delimits_t *delimits) {
}
#endif // !defined(_di_fl_fss_basic_object_read_) || !defined(_di_fl_fss_extended_object_read_)
-#if !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_) || !defined(_di_fl_fss_extended_content_write_string_)
+#if !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_) || !defined(_di_fl_fss_extended_content_write_)
f_status_t private_fl_fss_basic_write(const bool object_as, const f_string_static_t object, const f_fss_quote_t quote, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) {
f_status_t status = f_fss_skip_past_space(object, range);
return F_none_eos;
}
-#endif // !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_) || !defined(_di_fl_fss_extended_content_write_string_)
+#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_) || !defined(_di_fl_fss_extended_content_write_)
#ifdef __cplusplus
} // extern "C"
*
* Errors (with error bit) from: f_fss_is_space().
*
- * @see fl_fss_basic_object_write_string()
- * @see fl_fss_extended_object_write_string()
+ * @see fl_fss_basic_object_write()
+ * @see fl_fss_extended_object_write()
*/
-#if !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_)
+#if !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
extern f_status_t private_fl_fss_basic_write_object_trim(const f_fss_quote_t quote, const f_array_length_t used_start, f_state_t state, f_string_dynamic_t *destination) F_attribute_visibility_internal_d;
-#endif // !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_)
+#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
/**
* Add all bytes to destination until stop point, buffer end, or EOL.
*
* Errors (with error bit) from: f_string_dynamic_increase().
*
- * @see fl_fss_basic_list_content_write_string()
- * @see fl_fss_embedded_list_content_write_string()
- * @see fl_fss_extended_list_content_write_string()
+ * @see fl_fss_basic_list_content_write()
+ * @see fl_fss_embedded_list_content_write()
+ * @see fl_fss_extended_list_content_write()
* @see f_string_dynamic_increase()
*/
-#if !defined(_di_fl_fss_basic_list_content_write_string_) || !defined(_di_fl_fss_extended_list_content_write_string_) || !defined(_di_fl_fss_embedded_list_content_write_string_)
+#if !defined(_di_fl_fss_basic_list_content_write_) || !defined(_di_fl_fss_extended_list_content_write_) || !defined(_di_fl_fss_embedded_list_content_write_)
extern f_status_t private_fl_fss_basic_list_write_add_until_end(const f_string_static_t buffer, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) F_attribute_visibility_internal_d;
-#endif // !defined(_di_fl_fss_basic_list_content_write_string_) || !defined(_di_fl_fss_extended_list_content_write_string_) || !defined(_di_fl_fss_embedded_list_content_write_string_)
+#endif // !defined(_di_fl_fss_basic_list_content_write_) || !defined(_di_fl_fss_extended_list_content_write_) || !defined(_di_fl_fss_embedded_list_content_write_)
/**
* Trim a given object used by the basic list and extended list object write functions.
*
* Errors (with error bit) from: f_fss_is_space().
*
- * @see fl_fss_basic_list_object_write_string()
- * @see fl_fss_extended_list_object_write_string()
+ * @see fl_fss_basic_list_object_write()
+ * @see fl_fss_extended_list_object_write()
*/
-#if !defined(_di_fl_fss_basic_list_object_write_string_) || !defined(_di_fl_fss_extended_list_object_write_string_)
+#if !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
extern f_status_t private_fl_fss_basic_list_write_object_trim(const f_array_length_t used_start, f_state_t state, f_string_dynamic_t *destination) F_attribute_visibility_internal_d;
-#endif // !defined(_di_fl_fss_basic_list_object_write_string_) || !defined(_di_fl_fss_extended_list_object_write_string_)
+#endif // !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
/**
* Private implementation of fl_fss_basic_object_read().
#endif // !defined(_di_fl_fss_basic_object_read_) || !defined(_di_fl_fss_extended_object_read_) || !defined(_di_fl_fss_extended_content_read_)
/**
- * Private implementation of fl_fss_basic_object_write_string().
+ * Private implementation of fl_fss_basic_object_write().
*
* Intended to be shared to each of the different implementation variations.
*
*
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see fl_fss_basic_object_write_string()
- * @see fl_fss_extended_object_write_string()
- * @see fl_fss_extended_content_write_string()
+ * @see fl_fss_basic_object_write()
+ * @see fl_fss_extended_object_write()
+ * @see fl_fss_extended_content_write()
*/
-#if !defined(fl_fss_basic_object_write_string) || !defined(fl_fss_extended_object_write_string) || !defined(_di_fl_fss_extended_content_write_string_)
+#if !defined(fl_fss_basic_object_write) || !defined(fl_fss_extended_object_write) || !defined(_di_fl_fss_extended_content_write_)
extern f_status_t private_fl_fss_basic_write(const bool object_as, const f_string_static_t object, const f_fss_quote_t quoted, f_state_t state, f_string_range_t *range, f_string_dynamic_t *destination) F_attribute_visibility_internal_d;
-#endif // !defined(fl_fss_basic_object_write_string) || !defined(fl_fss_extended_object_write_string) || !defined(_di_fl_fss_extended_content_write_string_)
+#endif // !defined(fl_fss_basic_object_write) || !defined(fl_fss_extended_object_write) || !defined(_di_fl_fss_extended_content_write_)
#ifdef __cplusplus
} // extern "C"
f_status_t status = 0;
f_string_range_t range = macro_f_string_range_t_initialize(object.used);
- status = fl_fss_basic_object_write_string(object, quote, f_fss_complete_full, state, &range, destination);
+ status = fl_fss_basic_object_write(object, quote, f_fss_complete_full, state, &range, destination);
if (F_status_is_error(status) || status == F_data_not_stop || status == F_data_not_eos) {
return status;
range.start = 0;
range.stop = content.used - 1;
- status = fl_fss_basic_content_write_string(content, f_fss_complete_full, state, &range, destination);
+ status = fl_fss_basic_content_write(content, f_fss_complete_full, state, &range, destination);
if (F_status_is_error(status)) return status;
}
else {
* F_parameter (with error bit) if a parameter is invalid.
* F_utf (with error bit) is returned on failure to read/process a UTF-8 character.
*
- * Errors (with error bit) from: fl_fss_basic_content_write_string().
- * Errors (with error bit) from: fl_fss_basic_object_write_string().
+ * Errors (with error bit) from: fl_fss_basic_content_write().
+ * Errors (with error bit) from: fl_fss_basic_object_write().
* Errors (with error bit) from: f_string_dynamic_increase_by().
*/
#ifndef _di_fll_fss_basic_write_string_
f_status_t status = 0;
f_string_range_t range = macro_f_string_range_t_initialize(object.used);
- status = fl_fss_basic_list_object_write_string(object, f_fss_complete_full, state, &range, destination);
+ status = fl_fss_basic_list_object_write(object, f_fss_complete_full, state, &range, destination);
if (F_status_is_error(status) || status == F_data_not_stop || status == F_data_not_eos) {
return status;
range.stop = 0;
}
- status = fl_fss_basic_list_content_write_string(content, f_fss_complete_full, content_prepend, state, &range, destination);
+ status = fl_fss_basic_list_content_write(content, f_fss_complete_full, content_prepend, state, &range, destination);
}
return status;
* F_parameter (with error bit) if a parameter is invalid.
* F_utf (with error bit) is returned on failure to read/process a UTF-8 character.
*
- * Errors (with error bit) from: fl_fss_basic_list_content_write_string().
- * Errors (with error bit) from: fl_fss_basic_list_object_write_string().
+ * Errors (with error bit) from: fl_fss_basic_list_content_write().
+ * Errors (with error bit) from: fl_fss_basic_list_object_write().
* Errors (with error bit) from: f_string_dynamic_increase_by().
*/
#ifndef _di_fll_fss_basic_list_write_string_
f_status_t status = 0;
f_string_range_t range = macro_f_string_range_t_initialize(object.used);
- status = fl_fss_embedded_list_object_write_string(object, f_fss_complete_full, state, &range, destination);
+ status = fl_fss_embedded_list_object_write(object, f_fss_complete_full, state, &range, destination);
if (F_status_is_error(status) || status == F_data_not_stop || status == F_data_not_eos) {
return status;
range.stop = 0;
}
- status = fl_fss_embedded_list_content_write_string(content, f_fss_complete_full, content_prepend, ignore, state, &range, destination);
+ status = fl_fss_embedded_list_content_write(content, f_fss_complete_full, content_prepend, ignore, state, &range, destination);
}
return status;
* F_parameter (with error bit) if a parameter is invalid.
* F_utf (with error bit) is returned on failure to read/process a UTF-8 character.
*
- * Errors (with error bit) from: fl_fss_embedded_list_content_write_string().
- * Errors (with error bit) from: fl_fss_embedded_list_object_write_string().
+ * Errors (with error bit) from: fl_fss_embedded_list_content_write().
+ * Errors (with error bit) from: fl_fss_embedded_list_object_write().
* Errors (with error bit) from: f_string_dynamic_increase_by().
*/
#ifndef _di_fll_fss_embedded_list_write_string_
f_status_t status = 0;
f_string_range_t range = macro_f_string_range_t_initialize(object.used);
- status = fl_fss_extended_object_write_string(object, quote, f_fss_complete_full, state, &range, destination);
+ status = fl_fss_extended_object_write(object, quote, f_fss_complete_full, state, &range, destination);
if (F_status_is_error(status) || status == F_data_not_stop || status == F_data_not_eos) {
return status;
range.stop = 0;
}
- status = fl_fss_extended_content_write_string(contents.array[i], quote, complete, state, &range, destination);
+ status = fl_fss_extended_content_write(contents.array[i], quote, complete, state, &range, destination);
if (F_status_is_error(status)) return status;
} // for
}
* F_parameter (with error bit) if a parameter is invalid.
* F_utf (with error bit) is returned on failure to read/process a UTF-8 character.
*
- * Errors (with error bit) from: fl_fss_extended_content_write_string().
- * Errors (with error bit) from: fl_fss_extended_object_write_string().
+ * Errors (with error bit) from: fl_fss_extended_content_write().
+ * Errors (with error bit) from: fl_fss_extended_object_write().
* Errors (with error bit) from: f_string_dynamic_increase_by().
*/
#ifndef _di_fll_fss_extended_write_string_
f_status_t status = 0;
f_string_range_t range = macro_f_string_range_t_initialize(object.used);
- status = fl_fss_extended_list_object_write_string(object, f_fss_complete_full, state, &range, destination);
+ status = fl_fss_extended_list_object_write(object, f_fss_complete_full, state, &range, destination);
if (F_status_is_error(status) || status == F_data_not_stop || status == F_data_not_eos) {
return status;
range.stop = 0;
}
- status = fl_fss_extended_list_content_write_string(content, f_fss_complete_full, content_prepend, ignore, state, &range, destination);
+ status = fl_fss_extended_list_content_write(content, f_fss_complete_full, content_prepend, ignore, state, &range, destination);
}
return status;
* F_parameter (with error bit) if a parameter is invalid.
* F_utf (with error bit) is returned on failure to read/process a UTF-8 character.
*
- * Errors (with error bit) from: fl_fss_extended_list_content_write_string().
- * Errors (with error bit) from: fl_fss_extended_list_object_write_string().
+ * Errors (with error bit) from: fl_fss_extended_list_content_write().
+ * Errors (with error bit) from: fl_fss_extended_list_object_write().
* Errors (with error bit) from: f_string_dynamic_increase_by().
*/
#ifndef _di_fll_fss_extended_list_write_string_
}
}
- status = fl_fss_basic_list_object_write_string(*object, complete, state, &range, buffer);
+ status = fl_fss_basic_list_object_write(*object, complete, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_basic_list_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_list_object_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_list_object_write", F_true);
return status;
}
range.start = 0;
range.stop = content->used - 1;
- status = fl_fss_basic_list_content_write_string(*content, object ? f_fss_complete_full : f_fss_complete_none, &main->prepend, state, &range, buffer);
+ status = fl_fss_basic_list_content_write(*content, object ? f_fss_complete_full : f_fss_complete_none, &main->prepend, state, &range, buffer);
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_list_content_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_list_content_write", F_true);
return status;
}
}
}
- status = fl_fss_basic_object_write_string(*object, quote, complete, state, &range, buffer);
+ status = fl_fss_basic_object_write(*object, quote, complete, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_basic_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_object_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_object_write", F_true);
return status;
}
range.stop = 0;
}
- status = fl_fss_basic_content_write_string(*content, object ? f_fss_complete_full : f_fss_complete_none, state, &range, buffer);
+ status = fl_fss_basic_content_write(*content, object ? f_fss_complete_full : f_fss_complete_none, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_basic_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_content_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_basic_content_write", F_true);
return status;
}
}
}
- status = fl_fss_embedded_list_object_write_string(*object, complete, state, &range, buffer);
+ status = fl_fss_embedded_list_object_write(*object, complete, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_embedded_list_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_embedded_list_object_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_embedded_list_object_write", F_true);
return status;
}
range.start = 0;
range.stop = content->used - 1;
- status = fl_fss_embedded_list_content_write_string(*content, object ? f_fss_complete_full : f_fss_complete_none, &main->prepend, ignore, state, &range, buffer);
+ status = fl_fss_embedded_list_content_write(*content, object ? f_fss_complete_full : f_fss_complete_none, &main->prepend, ignore, state, &range, buffer);
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_embedded_list_content_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_embedded_list_content_write", F_true);
return status;
}
}
}
- status = fl_fss_extended_list_object_write_string(*object, complete, state, &range, buffer);
+ status = fl_fss_extended_list_object_write(*object, complete, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_extended_list_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_list_object_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_list_object_write", F_true);
return status;
}
range.start = 0;
range.stop = content->used - 1;
- status = fl_fss_extended_list_content_write_string(*content, object ? f_fss_complete_full : f_fss_complete_none, &main->prepend, ignore, state, &range, buffer);
+ status = fl_fss_extended_list_content_write(*content, object ? f_fss_complete_full : f_fss_complete_none, &main->prepend, ignore, state, &range, buffer);
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_list_content_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_list_content_write", F_true);
return status;
}
}
}
- status = fl_fss_extended_object_write_string(*object, quote, complete, state, &range, buffer);
+ status = fl_fss_extended_object_write(*object, quote, complete, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_extended_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_object_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_object_write", F_true);
return F_status_set_error(status);
}
range.stop = 0;
}
- status = fl_fss_extended_content_write_string(contents->array[i], quote, i + 1 < contents->used ? f_fss_complete_next : f_fss_complete_end, state, &range, buffer);
+ status = fl_fss_extended_content_write(contents->array[i], quote, i + 1 < contents->used ? f_fss_complete_next : f_fss_complete_end, state, &range, buffer);
if (F_status_set_fine(status) == F_none_eol) {
fss_extended_write_error_parameter_unsupported_eol_print(main);
}
if (F_status_is_error(status)) {
- fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_content_write_string", F_true);
+ fll_error_print(main->error, F_status_set_fine(status), "fl_fss_extended_content_write", F_true);
return F_status_set_error(status);
}