forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
the per-file encapsulation type needed to write out a set of packets with all those encapsulation types. If there's only one such encapsulation type, that's the type, otherwise WTAP_ENCAP_PER_PACKET is needed. Use that in wtap_dump_can_write_encaps(). Also use it in cf_save_packets() and cf_export_specified_packets(), so that we can write out files with WTAP_ENCAP_PER_PACKET as the file encapsulation type and only one actual per-packet encapsulation type in some cases where that failed before. This fixes the case that showed up in bug 7505, although there are other cases where we *could* write out a capture in a given file format but won't be able to do so; fixing those will take more work. #BACKPORT (Note: this adds a routine to libwiretap, so, when backported, the *minor* version of the library should be increased. Code that worked with the version of the library prior to this change will continue to work, so there's no need to change the *major* version of the library.) svn path=/trunk/; revision=43847
85 lines
1.5 KiB
Modula-2
85 lines
1.5 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_eof
|
|
file_error
|
|
file_getc
|
|
file_gets
|
|
file_seek
|
|
file_read
|
|
file_tell
|
|
|
|
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_write_encaps
|
|
wtap_dump_can_compress
|
|
wtap_dump_close
|
|
wtap_dump_fdopen
|
|
wtap_dump_fdopen_ng
|
|
wtap_dump_file_encap_type
|
|
wtap_dump_flush
|
|
wtap_dump_open
|
|
wtap_dump_open_ng
|
|
wtap_dump_set_addrinfo_list
|
|
wtap_encap_short_string
|
|
wtap_encap_string
|
|
wtap_fdclose
|
|
wtap_fdreopen
|
|
wtap_file_encap
|
|
wtap_get_savable_file_types
|
|
wtap_get_file_extensions_list
|
|
wtap_free_file_extensions_list
|
|
wtap_file_get_idb_info
|
|
wtap_file_get_shb_info
|
|
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_iscompressed
|
|
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_write_shb_comment
|
|
wtap_wtap_encap_to_pcap_encap
|
|
|
|
|