Line | Count | Source | ||||||||||||||||||||||||||||||||||||
1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ | |||||||||||||||||||||||||||||||||||||
2 | ||||||||||||||||||||||||||||||||||||||
3 | /* Fluent Bit | |||||||||||||||||||||||||||||||||||||
4 | * ========== | |||||||||||||||||||||||||||||||||||||
5 | * Copyright (C) 2015-2024 The Fluent Bit Authors | |||||||||||||||||||||||||||||||||||||
6 | * | |||||||||||||||||||||||||||||||||||||
7 | * Licensed under the Apache License, Version 2.0 (the "License"); | |||||||||||||||||||||||||||||||||||||
8 | * you may not use this file except in compliance with the License. | |||||||||||||||||||||||||||||||||||||
9 | * You may obtain a copy of the License at | |||||||||||||||||||||||||||||||||||||
10 | * | |||||||||||||||||||||||||||||||||||||
11 | * http://www.apache.org/licenses/LICENSE-2.0 | |||||||||||||||||||||||||||||||||||||
12 | * | |||||||||||||||||||||||||||||||||||||
13 | * Unless required by applicable law or agreed to in writing, software | |||||||||||||||||||||||||||||||||||||
14 | * distributed under the License is distributed on an "AS IS" BASIS, | |||||||||||||||||||||||||||||||||||||
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||||||||||||||||||||||||||||||||||
16 | * See the License for the specific language governing permissions and | |||||||||||||||||||||||||||||||||||||
17 | * limitations under the License. | |||||||||||||||||||||||||||||||||||||
18 | */ | |||||||||||||||||||||||||||||||||||||
19 | ||||||||||||||||||||||||||||||||||||||
20 | #ifndef FLB_URI_H | |||||||||||||||||||||||||||||||||||||
21 | #define FLB_URI_H | |||||||||||||||||||||||||||||||||||||
22 | ||||||||||||||||||||||||||||||||||||||
23 | #include <monkey/mk_core.h> | |||||||||||||||||||||||||||||||||||||
24 | #include <fluent-bit/flb_info.h> | |||||||||||||||||||||||||||||||||||||
25 | #include <fluent-bit/flb_sds.h> | |||||||||||||||||||||||||||||||||||||
26 | ||||||||||||||||||||||||||||||||||||||
27 | /* By default we allow a maximum of 8 URI patterns in our map */ | |||||||||||||||||||||||||||||||||||||
28 | 12.0k | #define FLB_URI_MAX 8 | ||||||||||||||||||||||||||||||||||||
29 | ||||||||||||||||||||||||||||||||||||||
30 | struct flb_uri_field { | |||||||||||||||||||||||||||||||||||||
31 | size_t length; | |||||||||||||||||||||||||||||||||||||
32 | char *value; | |||||||||||||||||||||||||||||||||||||
33 | struct mk_list _head; | |||||||||||||||||||||||||||||||||||||
34 | }; | |||||||||||||||||||||||||||||||||||||
35 | ||||||||||||||||||||||||||||||||||||||
36 | struct flb_uri { | |||||||||||||||||||||||||||||||||||||
37 | char *full; /* Original full URI */ | |||||||||||||||||||||||||||||||||||||
38 | uint8_t count; /* Number of entries in the list */ | |||||||||||||||||||||||||||||||||||||
39 | struct mk_list list; /* List head for uri patterns */ | |||||||||||||||||||||||||||||||||||||
40 | struct flb_uri_field *map; /* Map / O(1) lookup by position */ | |||||||||||||||||||||||||||||||||||||
41 | }; | |||||||||||||||||||||||||||||||||||||
42 | ||||||||||||||||||||||||||||||||||||||
43 | static inline int flb_uri_to_encode(char c) | |||||||||||||||||||||||||||||||||||||
44 | 7.98M | { | ||||||||||||||||||||||||||||||||||||
45 | 7.98M | if ((c >= 48 && c <= 57) || /* 0-9 */ | ||||||||||||||||||||||||||||||||||||
46 | 7.98M | (c >= 65 && c <= 90) || /* A-Z */ | ||||||||||||||||||||||||||||||||||||
47 | 7.98M | (c >= 97 && c <= 122) || /* a-z */ | ||||||||||||||||||||||||||||||||||||
48 | 7.98M | (c == '?' || c == '&' || c == '-' || c == '_' || c == '.' || | ||||||||||||||||||||||||||||||||||||
49 | 5.04M | c == '~' || c == '/' || c == '=')) { | ||||||||||||||||||||||||||||||||||||
50 | 3.08M | return FLB_FALSE; | ||||||||||||||||||||||||||||||||||||
51 | 3.08M | } | ||||||||||||||||||||||||||||||||||||
52 | ||||||||||||||||||||||||||||||||||||||
53 | 4.90M | return FLB_TRUE; | ||||||||||||||||||||||||||||||||||||
54 | 7.98M | } Unexecuted instantiation: strp_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: flb_strptime.c:flb_uri_to_encode Unexecuted instantiation: msgpack_parse_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: flb_pack.c:flb_uri_to_encode Unexecuted instantiation: flb_utils.c:flb_uri_to_encode Unexecuted instantiation: flb_time.c:flb_uri_to_encode Unexecuted instantiation: flb_log_event_decoder.c:flb_uri_to_encode Unexecuted instantiation: flb_mp.c:flb_uri_to_encode Unexecuted instantiation: flb_log.c:flb_uri_to_encode Unexecuted instantiation: flb_pipe.c:flb_uri_to_encode Unexecuted instantiation: flb_log_event_encoder.c:flb_uri_to_encode Unexecuted instantiation: flb_log_event_encoder_primitives.c:flb_uri_to_encode Unexecuted instantiation: flb_log_event_encoder_dynamic_field.c:flb_uri_to_encode Unexecuted instantiation: flb_conditionals.c:flb_uri_to_encode Unexecuted instantiation: flb_record_accessor.c:flb_uri_to_encode Unexecuted instantiation: flb_sds_list.c:flb_uri_to_encode Unexecuted instantiation: flb_cfl_record_accessor.c:flb_uri_to_encode Unexecuted instantiation: msgpack_to_gelf_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: flb_pack_gelf.c:flb_uri_to_encode Unexecuted instantiation: flb_config.c:flb_uri_to_encode Unexecuted instantiation: flb_scheduler.c:flb_uri_to_encode Unexecuted instantiation: flb_plugin.c:flb_uri_to_encode Unexecuted instantiation: flb_routes_mask.c:flb_uri_to_encode Unexecuted instantiation: flb_processor.c:flb_uri_to_encode Unexecuted instantiation: flb_ml.c:flb_uri_to_encode Unexecuted instantiation: flb_parser.c:flb_uri_to_encode Unexecuted instantiation: flb_parser_regex.c:flb_uri_to_encode Unexecuted instantiation: flb_parser_json.c:flb_uri_to_encode Unexecuted instantiation: flb_parser_decoder.c:flb_uri_to_encode Unexecuted instantiation: flb_parser_ltsv.c:flb_uri_to_encode Unexecuted instantiation: flb_parser_logfmt.c:flb_uri_to_encode Unexecuted instantiation: flb_plugin_proxy.c:flb_uri_to_encode Unexecuted instantiation: flb_chunk_trace.c:flb_uri_to_encode Unexecuted instantiation: flb_api.c:flb_uri_to_encode Unexecuted instantiation: flb_lib.c:flb_uri_to_encode Unexecuted instantiation: flb_custom.c:flb_uri_to_encode Unexecuted instantiation: flb_input.c:flb_uri_to_encode Unexecuted instantiation: flb_input_chunk.c:flb_uri_to_encode Unexecuted instantiation: flb_input_log.c:flb_uri_to_encode Unexecuted instantiation: flb_input_thread.c:flb_uri_to_encode Unexecuted instantiation: flb_filter.c:flb_uri_to_encode Unexecuted instantiation: flb_output.c:flb_uri_to_encode Unexecuted instantiation: flb_output_thread.c:flb_uri_to_encode Unexecuted instantiation: flb_network.c:flb_uri_to_encode Unexecuted instantiation: flb_engine.c:flb_uri_to_encode Unexecuted instantiation: flb_engine_dispatch.c:flb_uri_to_encode Unexecuted instantiation: flb_task.c:flb_uri_to_encode Unexecuted instantiation: flb_storage.c:flb_uri_to_encode Unexecuted instantiation: flb_connection.c:flb_uri_to_encode Unexecuted instantiation: flb_downstream.c:flb_uri_to_encode Unexecuted instantiation: flb_upstream.c:flb_uri_to_encode Unexecuted instantiation: flb_router.c:flb_uri_to_encode Unexecuted instantiation: flb_sosreport.c:flb_uri_to_encode Unexecuted instantiation: flb_notification.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_stream.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_group.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_rule.c:flb_uri_to_encode Unexecuted instantiation: flb_tls.c:flb_uri_to_encode Unexecuted instantiation: flb_metrics_exporter.c:flb_uri_to_encode
Unexecuted instantiation: flb_io.c:flb_uri_to_encode Unexecuted instantiation: flb_http_client.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser_cri.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser_docker.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser_python.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser_java.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser_go.c:flb_uri_to_encode Unexecuted instantiation: flb_ml_parser_ruby.c:flb_uri_to_encode Unexecuted instantiation: flb_upstream_ha.c:flb_uri_to_encode Unexecuted instantiation: flb_upstream_node.c:flb_uri_to_encode Unexecuted instantiation: flb_http_common.c:flb_uri_to_encode Unexecuted instantiation: flb_http_client_http1.c:flb_uri_to_encode Unexecuted instantiation: flb_http_client_http2.c:flb_uri_to_encode Unexecuted instantiation: flb_signv4_ng.c:flb_uri_to_encode Unexecuted instantiation: flb_signv4.c:flb_uri_to_encode Unexecuted instantiation: flb_hs_endpoints.c:flb_uri_to_encode Unexecuted instantiation: flb_http_server_http1.c:flb_uri_to_encode Unexecuted instantiation: flb_http_server_http2.c:flb_uri_to_encode Unexecuted instantiation: calyptia.c:flb_uri_to_encode Unexecuted instantiation: blob.c:flb_uri_to_encode Unexecuted instantiation: blob_db.c:flb_uri_to_encode Unexecuted instantiation: blob_file.c:flb_uri_to_encode Unexecuted instantiation: docker_events.c:flb_uri_to_encode Unexecuted instantiation: docker_events_config.c:flb_uri_to_encode Unexecuted instantiation: podman_metrics.c:flb_uri_to_encode Unexecuted instantiation: podman_metrics_data.c:flb_uri_to_encode Unexecuted instantiation: pe.c:flb_uri_to_encode Unexecuted instantiation: pe_config.c:flb_uri_to_encode Unexecuted instantiation: pe_process.c:flb_uri_to_encode Unexecuted instantiation: pe_utils.c:flb_uri_to_encode Unexecuted instantiation: gpu_metrics.c:flb_uri_to_encode Unexecuted instantiation: amd_gpu.c:flb_uri_to_encode Unexecuted instantiation: ne.c:flb_uri_to_encode Unexecuted instantiation: ne_cpu.c:flb_uri_to_encode Unexecuted instantiation: ne_meminfo.c:flb_uri_to_encode Unexecuted instantiation: ne_diskstats.c:flb_uri_to_encode Unexecuted instantiation: ne_filesystem.c:flb_uri_to_encode Unexecuted instantiation: ne_uname.c:flb_uri_to_encode Unexecuted instantiation: ne_stat.c:flb_uri_to_encode Unexecuted instantiation: ne_vmstat.c:flb_uri_to_encode Unexecuted instantiation: ne_netdev.c:flb_uri_to_encode Unexecuted instantiation: ne_sockstat.c:flb_uri_to_encode Unexecuted instantiation: ne_time.c:flb_uri_to_encode Unexecuted instantiation: ne_loadavg.c:flb_uri_to_encode Unexecuted instantiation: ne_filefd.c:flb_uri_to_encode Unexecuted instantiation: ne_textfile.c:flb_uri_to_encode Unexecuted instantiation: ne_processes.c:flb_uri_to_encode Unexecuted instantiation: ne_nvme.c:flb_uri_to_encode Unexecuted instantiation: ne_hwmon.c:flb_uri_to_encode Unexecuted instantiation: ne_utils.c:flb_uri_to_encode Unexecuted instantiation: ne_config.c:flb_uri_to_encode Unexecuted instantiation: ne_systemd.c:flb_uri_to_encode Unexecuted instantiation: ne_thermalzone.c:flb_uri_to_encode Unexecuted instantiation: kubernetes_events.c:flb_uri_to_encode Unexecuted instantiation: kubernetes_events_conf.c:flb_uri_to_encode Unexecuted instantiation: in_kafka.c:flb_uri_to_encode Unexecuted instantiation: metrics.c:flb_uri_to_encode Unexecuted instantiation: prom_scrape.c:flb_uri_to_encode Unexecuted instantiation: prometheus_textfile.c:flb_uri_to_encode Unexecuted instantiation: emitter.c:flb_uri_to_encode Unexecuted instantiation: in_dummy.c:flb_uri_to_encode Unexecuted instantiation: http.c:flb_uri_to_encode Unexecuted instantiation: http_conn.c:flb_uri_to_encode Unexecuted instantiation: http_prot.c:flb_uri_to_encode Unexecuted instantiation: http_config.c:flb_uri_to_encode Unexecuted instantiation: statsd.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry_prot.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry_logs.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry_traces.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry_config.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry_utils.c:flb_uri_to_encode Unexecuted instantiation: in_elasticsearch.c:flb_uri_to_encode Unexecuted instantiation: in_elasticsearch_config.c:flb_uri_to_encode Unexecuted instantiation: in_elasticsearch_bulk_conn.c:flb_uri_to_encode Unexecuted instantiation: in_elasticsearch_bulk_prot.c:flb_uri_to_encode Unexecuted instantiation: in_calyptia_fleet.c:flb_uri_to_encode Unexecuted instantiation: splunk.c:flb_uri_to_encode Unexecuted instantiation: splunk_conn.c:flb_uri_to_encode Unexecuted instantiation: splunk_prot.c:flb_uri_to_encode Unexecuted instantiation: splunk_config.c:flb_uri_to_encode Unexecuted instantiation: prom_rw.c:flb_uri_to_encode Unexecuted instantiation: prom_rw_prot.c:flb_uri_to_encode Unexecuted instantiation: prom_rw_conn.c:flb_uri_to_encode Unexecuted instantiation: prom_rw_config.c:flb_uri_to_encode Unexecuted instantiation: event_type.c:flb_uri_to_encode Unexecuted instantiation: sb.c:flb_uri_to_encode Unexecuted instantiation: nginx.c:flb_uri_to_encode Unexecuted instantiation: udp.c:flb_uri_to_encode Unexecuted instantiation: udp_conn.c:flb_uri_to_encode Unexecuted instantiation: udp_config.c:flb_uri_to_encode Unexecuted instantiation: in_exec_wasi.c:flb_uri_to_encode Unexecuted instantiation: in_lib.c:flb_uri_to_encode Unexecuted instantiation: cm.c:flb_uri_to_encode Unexecuted instantiation: cm_config.c:flb_uri_to_encode Unexecuted instantiation: cm_logs.c:flb_uri_to_encode Unexecuted instantiation: cm_metrics.c:flb_uri_to_encode Unexecuted instantiation: cm_traces.c:flb_uri_to_encode Unexecuted instantiation: cm_opentelemetry.c:flb_uri_to_encode Unexecuted instantiation: cm_utils.c:flb_uri_to_encode Unexecuted instantiation: labels.c:flb_uri_to_encode Unexecuted instantiation: selector.c:flb_uri_to_encode Unexecuted instantiation: otel_envelope.c:flb_uri_to_encode Unexecuted instantiation: sampling.c:flb_uri_to_encode Unexecuted instantiation: sampling_conf.c:flb_uri_to_encode Unexecuted instantiation: sampling_span_registry.c:flb_uri_to_encode Unexecuted instantiation: sampling_conditions.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_status_codes.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_latency.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_attribute.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_string_attribute.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_numeric_attribute.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_boolean_attribute.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_span_count.c:flb_uri_to_encode Unexecuted instantiation: sampling_cond_trace_state.c:flb_uri_to_encode Unexecuted instantiation: sampling_tail.c:flb_uri_to_encode Unexecuted instantiation: sampling_probabilistic.c:flb_uri_to_encode Unexecuted instantiation: sql.c:flb_uri_to_encode Unexecuted instantiation: sql_config.c:flb_uri_to_encode Unexecuted instantiation: azure_blob.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_uri.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_conf.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_http.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_db.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_appendblob.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_blockblob.c:flb_uri_to_encode Unexecuted instantiation: azure_blob_store.c:flb_uri_to_encode Unexecuted instantiation: azure_logs_ingestion.c:flb_uri_to_encode Unexecuted instantiation: azure_logs_ingestion_conf.c:flb_uri_to_encode Unexecuted instantiation: azure_kusto.c:flb_uri_to_encode Unexecuted instantiation: azure_kusto_conf.c:flb_uri_to_encode Unexecuted instantiation: azure_kusto_ingest.c:flb_uri_to_encode Unexecuted instantiation: azure_msiauth.c:flb_uri_to_encode Unexecuted instantiation: azure_kusto_store.c:flb_uri_to_encode Unexecuted instantiation: exit.c:flb_uri_to_encode Unexecuted instantiation: http_conf.c:flb_uri_to_encode Unexecuted instantiation: logdna.c:flb_uri_to_encode Unexecuted instantiation: opensearch.c:flb_uri_to_encode Unexecuted instantiation: os_conf.c:flb_uri_to_encode Unexecuted instantiation: oci_logan.c:flb_uri_to_encode Unexecuted instantiation: oci_logan_conf.c:flb_uri_to_encode Unexecuted instantiation: skywalking.c:flb_uri_to_encode Unexecuted instantiation: stdout.c:flb_uri_to_encode Unexecuted instantiation: udp_conf.c:flb_uri_to_encode Unexecuted instantiation: td.c:flb_uri_to_encode Unexecuted instantiation: td_http.c:flb_uri_to_encode Unexecuted instantiation: td_config.c:flb_uri_to_encode Unexecuted instantiation: out_lib.c:flb_uri_to_encode Unexecuted instantiation: websocket.c:flb_uri_to_encode Unexecuted instantiation: websocket_conf.c:flb_uri_to_encode Unexecuted instantiation: cloudwatch_logs.c:flb_uri_to_encode Unexecuted instantiation: cloudwatch_api.c:flb_uri_to_encode Unexecuted instantiation: firehose.c:flb_uri_to_encode Unexecuted instantiation: firehose_api.c:flb_uri_to_encode Unexecuted instantiation: kinesis.c:flb_uri_to_encode Unexecuted instantiation: kinesis_api.c:flb_uri_to_encode Unexecuted instantiation: opentelemetry_conf.c:flb_uri_to_encode Unexecuted instantiation: prom.c:flb_uri_to_encode Unexecuted instantiation: prom_http.c:flb_uri_to_encode Unexecuted instantiation: remote_write.c:flb_uri_to_encode Unexecuted instantiation: remote_write_conf.c:flb_uri_to_encode Unexecuted instantiation: s3.c:flb_uri_to_encode Unexecuted instantiation: s3_store.c:flb_uri_to_encode Unexecuted instantiation: s3_multipart.c:flb_uri_to_encode Unexecuted instantiation: vivo.c:flb_uri_to_encode Unexecuted instantiation: vivo_http.c:flb_uri_to_encode Unexecuted instantiation: vivo_stream.c:flb_uri_to_encode Unexecuted instantiation: chronicle.c:flb_uri_to_encode Unexecuted instantiation: chronicle_conf.c:flb_uri_to_encode Unexecuted instantiation: alter_size.c:flb_uri_to_encode Unexecuted instantiation: aws.c:flb_uri_to_encode Unexecuted instantiation: checklist.c:flb_uri_to_encode Unexecuted instantiation: ecs.c:flb_uri_to_encode Unexecuted instantiation: filter_modifier.c:flb_uri_to_encode Unexecuted instantiation: sysinfo.c:flb_uri_to_encode Unexecuted instantiation: sysinfo_platform.c:flb_uri_to_encode Unexecuted instantiation: throttle.c:flb_uri_to_encode Unexecuted instantiation: window.c:flb_uri_to_encode Unexecuted instantiation: type_converter.c:flb_uri_to_encode Unexecuted instantiation: kubernetes.c:flb_uri_to_encode Unexecuted instantiation: kube_conf.c:flb_uri_to_encode Unexecuted instantiation: kube_meta.c:flb_uri_to_encode Unexecuted instantiation: kube_regex.c:flb_uri_to_encode Unexecuted instantiation: kube_property.c:flb_uri_to_encode Unexecuted instantiation: modify.c:flb_uri_to_encode Unexecuted instantiation: ml.c:flb_uri_to_encode Unexecuted instantiation: ml_concat.c:flb_uri_to_encode Unexecuted instantiation: nest.c:flb_uri_to_encode Unexecuted instantiation: filter_parser.c:flb_uri_to_encode Unexecuted instantiation: expect.c:flb_uri_to_encode Unexecuted instantiation: grep.c:flb_uri_to_encode Unexecuted instantiation: rewrite_tag.c:flb_uri_to_encode Unexecuted instantiation: log_to_metrics.c:flb_uri_to_encode Unexecuted instantiation: geoip2.c:flb_uri_to_encode Unexecuted instantiation: nightfall.c:flb_uri_to_encode Unexecuted instantiation: nightfall_api.c:flb_uri_to_encode Unexecuted instantiation: filter_wasm.c:flb_uri_to_encode Unexecuted instantiation: health.c:flb_uri_to_encode Unexecuted instantiation: trace.c:flb_uri_to_encode Unexecuted instantiation: uptime.c:flb_uri_to_encode Unexecuted instantiation: storage.c:flb_uri_to_encode Unexecuted instantiation: plugins.c:flb_uri_to_encode Unexecuted instantiation: reload.c:flb_uri_to_encode Unexecuted instantiation: flb_input_metric.c:flb_uri_to_encode Unexecuted instantiation: flb_input_trace.c:flb_uri_to_encode Unexecuted instantiation: flb_input_profiles.c:flb_uri_to_encode Unexecuted instantiation: flb_input_blob.c:flb_uri_to_encode Unexecuted instantiation: flb_blob_db.c:flb_uri_to_encode Unexecuted instantiation: flb_opentelemetry_logs.c:flb_uri_to_encode Unexecuted instantiation: flb_opentelemetry_utils.c:flb_uri_to_encode Unexecuted instantiation: flb_oauth2.c:flb_uri_to_encode Unexecuted instantiation: flb_sqldb.c:flb_uri_to_encode Unexecuted instantiation: flb_http_server.c:flb_uri_to_encode Unexecuted instantiation: go.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_util.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_credentials.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_credentials_sts.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_credentials_ec2.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_imds.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_credentials_http.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_credentials_profile.c:flb_uri_to_encode Unexecuted instantiation: flb_aws_credentials_process.c:flb_uri_to_encode Unexecuted instantiation: sql_parser.c:flb_uri_to_encode Unexecuted instantiation: processor-sql-parser_lex.c:flb_uri_to_encode Unexecuted instantiation: processor-sql_parser.c:flb_uri_to_encode Unexecuted instantiation: sql_expression.c:flb_uri_to_encode Unexecuted instantiation: flb_wasm.c:flb_uri_to_encode Unexecuted instantiation: flb_json_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: multiline_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: config_random_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: parser_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: aws_util_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: pack_json_state_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: input_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: aws_credentials_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: http_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: filter_stdout_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: signv4_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: record_ac_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: parse_ltsv_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: utils_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: parse_logfmt_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: engine_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: parse_json_fuzzer.c:flb_uri_to_encode Unexecuted instantiation: config_fuzzer.c:flb_uri_to_encode | ||||||||||||||||||||||||||||||||||||
55 | ||||||||||||||||||||||||||||||||||||||
56 | struct flb_uri_field *flb_uri_get(struct flb_uri *uri, int pos); | |||||||||||||||||||||||||||||||||||||
57 | struct flb_uri *flb_uri_create(const char *full_uri); | |||||||||||||||||||||||||||||||||||||
58 | void flb_uri_destroy(struct flb_uri *uri); | |||||||||||||||||||||||||||||||||||||
59 | void flb_uri_dump(struct flb_uri *uri); | |||||||||||||||||||||||||||||||||||||
60 | flb_sds_t flb_uri_encode(const char *uri, size_t len); | |||||||||||||||||||||||||||||||||||||
61 | ||||||||||||||||||||||||||||||||||||||
62 | #endif |