#endif // _di_f_string_dynamic_prepend_nulless_
#ifndef _di_f_string_dynamic_seek_line_
- f_status_t f_string_dynamic_seek_line(const f_string_static_t structure, f_range_t * const range) {
+ f_status_t f_string_dynamic_seek_line(const f_string_static_t buffer, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- if (!structure.used) return F_data_not;
+ if (!buffer.used) return F_data_not;
if (range->start > range->stop) return F_data_not_stop;
- while (structure.string[range->start] != f_string_eol_s.string[0]) {
+ while (buffer.string[range->start] != f_string_eol_s.string[0]) {
++range->start;
- if (range->start >= structure.used) return F_okay_eos;
+ if (range->start >= buffer.used) return F_okay_eos;
if (range->start > range->stop) return F_okay_stop;
} // while
#endif // _di_f_string_dynamic_seek_line_
#ifndef _di_f_string_dynamic_seek_line_to_
- f_status_t f_string_dynamic_seek_line_to(const f_string_static_t structure, const f_char_t seek_to_this, f_range_t * const range) {
+ f_status_t f_string_dynamic_seek_line_to(const f_string_static_t buffer, const f_char_t seek_to_this, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- if (!structure.used) return F_data_not;
+ if (!buffer.used) return F_data_not;
if (range->start > range->stop) return F_data_not_stop;
- while (structure.string[range->start] != seek_to_this) {
+ while (buffer.string[range->start] != seek_to_this) {
- if (structure.string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
+ if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
++range->start;
- if (range->start >= structure.used) return F_okay_eos;
+ if (range->start >= buffer.used) return F_okay_eos;
if (range->start > range->stop) return F_okay_stop;
} // while
#endif // _di_f_string_dynamic_seek_line_to_
#ifndef _di_f_string_dynamic_seek_to_
- f_status_t f_string_dynamic_seek_to(const f_string_static_t structure, const f_char_t seek_to_this, f_range_t * const range) {
+ f_status_t f_string_dynamic_seek_to(const f_string_static_t buffer, const f_char_t seek_to_this, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- if (!structure.used) return F_data_not;
+ if (!buffer.used) return F_data_not;
if (range->start > range->stop) return F_data_not_stop;
- while (structure.string[range->start] != seek_to_this) {
+ while (buffer.string[range->start] != seek_to_this) {
++range->start;
- if (range->start >= structure.used) return F_okay_eos;
+ if (range->start >= buffer.used) return F_okay_eos;
if (range->start > range->stop) return F_okay_stop;
} // while
/**
* Seek the buffer location forward until EOL is reached.
*
- * @param structure
+ * @param buffer
* The buffer to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_seek_line_
- extern f_status_t f_string_dynamic_seek_line(const f_string_static_t structure, f_range_t * const range);
+ extern f_status_t f_string_dynamic_seek_line(const f_string_static_t buffer, f_range_t * const range);
#endif // _di_f_string_dynamic_seek_line_
/**
* Seek the buffer location forward until the character (1-byte wide) or EOL is reached.
*
- * @param structure
+ * @param buffer
* The buffer to traverse.
* @param seek_to_this
* A single-width character representing a character to seek to.
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_seek_line_to_
- extern f_status_t f_string_dynamic_seek_line_to(const f_string_static_t structure, const f_char_t seek_to_this, f_range_t * const range);
+ extern f_status_t f_string_dynamic_seek_line_to(const f_string_static_t buffer, const f_char_t seek_to_this, f_range_t * const range);
#endif // _di_f_string_dynamic_seek_line_to_
/**
* Seek the buffer location forward until the character (1-byte wide) is reached.
*
- * @param structure
+ * @param buffer
* The buffer to traverse.
* @param seek_to_this
* A single-width character representing a character to seek to.
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_seek_to_
- extern f_status_t f_string_dynamic_seek_to(const f_string_static_t structure, const f_char_t seek_to_this, f_range_t * const range);
+ extern f_status_t f_string_dynamic_seek_to(const f_string_static_t buffer, const f_char_t seek_to_this, f_range_t * const range);
#endif // _di_f_string_dynamic_seek_to_
/**