# This file was automatically generated by bifcl from bro.bif.

global length: function(v: any): count;
global clear_table: function(v: any): any;
global cat: function(va_args: any): string;
global string_cat: function(va_args: any): string;
global cat_string_array: function(a: string_array): string;
global cat_string_array_n: function(a: string_array, start: count, end: count): string;
global sort_string_array: function(a: string_array): string_array;
global fmt: function(va_args: any): string;
global edit: function(arg_s: string, arg_edit_char: string): string;
global byte_len: function(s: string): count;
global sub_bytes: function(s: string, start: count, n: int): string;
global split: function(str: string, re: pattern): string_array;
global split1: function(str: string, re: pattern): string_array;
global split_all: function(str: string, re: pattern): string_array;
global split_n: function(str: string, re: pattern, incl_sep: bool, max_num_sep: count): string_array;
global split_complete: function(str: string, re: pattern, other: string_set, incl_sep: bool, max_num_sep: count): string_array;
global strcmp: function(s1: string, s2: string): int;
global strstr: function(big: string, little: string): count;
global subst_string: function(s: string, from: string, to: string): string;
global to_int: function(str: string): int;
global int_to_count: function(n: int): count;
global to_count: function(str: string): count;
global to_addr: function(ip: string): addr;
global to_net: function(a: addr): net;
global net_to_subnet: function(a: net): subnet;
global mask_addr: function(a: addr, top_bits_to_keep: count): addr;
global is_tcp_port: function(p: port): bool;
global reading_live_traffic: function(): bool;
global open: function(f: string): file;
global open_for_append: function(f: string): file;
global close: function(f: file): bool;
global set_buf: function(f: file, buffered: bool): any;
global flush_all: function(): bool;
global mkdir: function(f: string): bool;
global active_file: function(f: file): bool;
global active_connection: function(id: conn_id): bool;
global connection_record: function(cid: conn_id): connection;
global current_time: function(): time;
global network_time: function(): time;
global getenv: function(var: string): string;
global to_lower: function(str: string): string;
global to_upper: function(str: string): string;
global clean: function(str: string): string;
global to_string_literal: function(str: string): string;
global exit: function(): int;
global system: function(str: string): int;
global connection_exists: function(c: conn_id): bool;
global lookup_connection: function(cid: conn_id): connection;
global skip_further_processing: function(cid: conn_id): bool;
global set_record_packets: function(cid: conn_id, do_record: bool): bool;
global set_contents_file: function(cid: conn_id, direction: count, f: file): bool;
global set_inactivity_timeout: function(cid: conn_id, timeout: interval): interval;
global get_login_state: function(cid: conn_id): count;
global set_login_state: function(cid: conn_id, new_state: count): bool;
global get_orig_seq: function(cid: conn_id): count;
global get_resp_seq: function(cid: conn_id): count;
global ptr_name_to_addr: function(s: string): addr;
global addr_to_ptr_name: function(a: addr): string;
global parse_dotted_addr: function(s: string): addr;
global parse_ftp_port: function(s: string): ftp_port;
global parse_ftp_pasv: function(str: string): ftp_port;
global fmt_ftp_port: function(a: addr, p: port): string;
global skip_http_entity_data: function(c: connection, is_orig: bool): any;
global unescape_URI: function(URI: string): string;
global skip_smtp_data: function(c: connection): any;
global resource_usage: function(): bro_resources;
global get_matcher_stats: function(): matcher_stats;
global val_size: function(v: any): count;
global global_sizes: function(): var_sizes;
global rewriting_trace: function(): bool;
global preserve_prefix: function(a: addr, width: count): any;
global preserve_subnet: function(a: subnet): any;
global preserve_net: function(a: net): any;
global anonymize_addr: function(a: addr, method: IPAddrAnonymization): addr;
global get_contents_type: function(c: connection): count;
global md5_hash: function(va_args: any): string;
global md5_hmac: function(va_args: any): string;
global merge_pattern: function(p1: pattern, p2: pattern): pattern;
global convert_for_pattern: function(s: string): string;
global string_to_pattern: function(s: string, convert: bool): pattern;
global escape_string: function(s: string): string;
global precompile_pcap_filter: function(id: PcapFilterID, s: string): bool;
global install_pcap_filter: function(id: PcapFilterID): bool;
global pcap_error: function(): string;
global install_src_addr_filter: function(ip: addr, tcp_flags: count, prob: count): bool;
global install_src_net_filter: function(snet: subnet, tcp_flags: count, prob: count): bool;
global uninstall_src_addr_filter: function(ip: addr): bool;
global uninstall_src_net_filter: function(snet: subnet): bool;
global install_dst_addr_filter: function(ip: addr, tcp_flags: count, prob: count): bool;
global install_dst_net_filter: function(snet: subnet, tcp_flags: count, prob: count): bool;
global uninstall_dst_addr_filter: function(ip: addr): bool;
global uninstall_dst_net_filter: function(snet: subnet): bool;
global checkpoint_state: function(): bool;
global capture_events: function(filename: string): bool;
