|
Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
|
Growable byte buffer used by parsing and string assembly helpers. More...
#include <native_support.h>
Data Fields | |
| char * | data |
| size_t | len |
| size_t | cap |
Growable byte buffer used by parsing and string assembly helpers.
Definition at line 14 of file native_support.h.
| size_t Buffer::cap |
Total allocated capacity in bytes.
Definition at line 17 of file native_support.h.
Referenced by buffer_free(), buffer_init(), and buffer_reserve().
| char* Buffer::data |
Owned buffer storage.
Definition at line 15 of file native_support.h.
Referenced by buffer_append(), buffer_free(), buffer_init(), buffer_reserve(), build_native_runtime_status_report_json(), capture_execv_output_env_native(), capture_execv_output_split_env_native(), capture_postgresql_result_output_runtime_local(), compact_log_text_native(), json_string_dup_native(), migration_expected_checksum_dup_runtime_local(), native_append_json_item(), native_capture_migrate_verify_sqlite_report_json(), native_expected_migration_checksum(), native_finish_json_array(), native_json_string_array_lines_dup(), native_legacy_expected_migration_checksum(), native_spool_request_body_to_temp_file(), native_sql_literal_escape(), native_sql_literal_escape(), parse_http_request_native(), path_canonicalize(), postgresql_conninfo_dup_runtime_local(), read_file_text(), request_headers_with_client_ip_native(), and runtime_log_banner_native().
| size_t Buffer::len |
Number of bytes currently populated.
Definition at line 16 of file native_support.h.
Referenced by buffer_append(), buffer_free(), buffer_init(), build_native_runtime_status_report_json(), capture_execv_output_env_native(), capture_execv_output_split_env_native(), compact_log_text_native(), conninfo_append_kv_runtime_local(), native_append_json_item(), native_json_string_array_lines_dup(), native_spool_request_body_to_temp_file(), parse_http_request_native(), path_canonicalize(), and runtime_log_banner_native().