wireshark/wiretap/wtap.def
Guy Harris c8854a7a5f Add a routine to Wiretap that takes a file type value and an
encapsulation value and returns a GArray containing all the file types
that could be used to save a file of that file type and that
encapsulation value (which could be WTAP_ENCAP_PER_PACKET), with the
input file type first if that can be used and pcap or pcap-ng first if
not and if one of them can be used, and with pcap and pcap-ng clustered
together if they're among the file types that can be used.

Use that routine for the GTK+ file save dialog.

svn path=/trunk/; revision=40685
2012-01-24 04:33:23 +00:00

81 lines
1.4 KiB
Modula-2

; wtap.def
; $Id$
; Add symbols that should be exported out of libwiretap.dll
;
; DATA symbols must be declared WS_VAR_IMPORT in the header file!
;
; NOTE: TABS DON'T WORK IN THIS FILE, USE SPACES INSTEAD!!!
;
EXPORTS
buffer_assure_space
buffer_append
buffer_free
buffer_init
buffer_remove_start
file_seek
file_tell
file_error
file_gets
file_open
filed_open
file_read
file_close
file_getc
file_gets
file_eof
file_clearerr
file_set_random_access
wtap_buf_ptr
wtap_cleareof
wtap_close
wtap_default_file_extension
wtap_dump
wtap_dump_can_open
wtap_dump_can_write_encap
wtap_dump_can_compress
wtap_dump_close
wtap_dump_fdopen
wtap_dump_flush
wtap_dump_open
wtap_dump_set_addrinfo_list
wtap_encap_short_string
wtap_encap_string
wtap_file_encap
wtap_get_savable_file_types
wtap_get_file_extensions_list
wtap_free_file_extensions_list
wtap_file_size
wtap_file_tsprecision
wtap_file_type
wtap_file_type_short_string
wtap_file_type_string
wtap_fstat
wtap_get_bytes_dumped
wtap_get_num_encap_types
wtap_get_num_file_types
wtap_open_offline
wtap_pcap_encap_to_wtap_encap
wtap_phdr
wtap_pseudoheader
wtap_read
wtap_read_so_far
wtap_register_encap_type
wtap_register_file_type
wtap_register_open_routine
wtap_seek_read
wtap_sequential_close
wtap_set_bytes_dumped
wtap_set_cb_new_ipv4
wtap_set_cb_new_ipv6
wtap_short_string_to_encap
wtap_short_string_to_file_type
wtap_snapshot_length
wtap_strerror
wtap_wtap_encap_to_pcap_encap