FreeRDP/scripts/abi-suppr.txt
akallabeth 78a53f936b
[ci,abi] refactor suppressions
* add a script to run abi-diff locally
* refactor suppression file, explicitly state type of change expected
* use local script for ci tests as well
* disable client and shadow server builds
2025-03-19 21:55:17 +01:00

92 lines
2.3 KiB
Plaintext

# settings are opaque, ignore all changes
[suppress_type]
type_kind = struct
name = rdp_settings
# allow insertions at end of structs
[suppress_type]
type_kind = struct
has_data_members_inserted_at = end
# winpr_strerror did use unsigned instead of signed int as argument
[suppress_function]
change_kind = function-subtype-change
name = winpr_strerror
parameter = '0 INT32
# NtStatus2Tag did use unsigned instead of signed NTSTATUS as argument
[suppress_function]
change_kind = function-subtype-change
name = NtStatus2Tag
parameter = '0 NTSTATUS
# rdpdr_write_iocompletion_header did use unsigned instead of signed NTSTATUS as argument
[suppress_function]
change_kind = function-subtype-change
name = rdpdr_write_iocompletion_header
parameter = '3 NTSTATUS
# smartcard_irp_device_control_call did use unsigned instead of signed NTSTATUS as argument
[suppress_function]
change_kind = function-subtype-change
name = smartcard_irp_device_control_call
parameter = '2 NTSTATUS*
# freerdp_passphrase_read did not return const char* but char*
[suppress_function]
change_kind = function-subtype-change
name = freerdp_passphrase_read
return_type_name = const char*
[suppress_type]
change_kind = enum
name = FreeRDP_Settings_Keys_UInt32
changed_enumerators = FreeRDP_MonitorLocalShiftX, FreeRDP_MonitorLocalShiftY
# gdi_graphics_pipeline_init_ex subtype change (__uint32 to uint32_t)
[suppress_type]
change_kind = typedef
name = UINT
[suppress_type]
change_kind = typedef
name = UINT16
[suppress_type]
change_kind = typedef
name = UINT32
[suppress_type]
change_kind = typedef
name = UINT64
# msusb_msconfig_dump did use MSUSB_CONFIG_DESCRIPTOR* instead of const MSUSB_CONFIG_DESCRIPTOR*
[suppress_function]
change_kind = function-subtype-change
name = msusb_msconfig_dump
[suppress_function]
change_kind = function-subtype-change
name = gdi_CopyRect
parameter = '1 const GDI_RECT*
[suppress_function]
change_kind = function-subtype-change
name = gdi_EqualRgn
parameter = '0 const GDI_RGN*
[suppress_function]
change_kind = function-subtype-change
name = gdi_EqualRgn
parameter = '1 const GDI_RGN*
[suppress_function]
change_kind = function-subtype-change
name = gdi_PtInRect
parameter = '0 const GDI_RECT*'
[suppress_function]
change_kind = function-subtype-change
name = GetDynamicTimeZoneInformationEffectiveYears
parameter = '0 const DYNAMIC_TIME_ZONE_INFORMATION*'