channels: cliprdr: add lastRequestedFormatId
authorkubistika <kmizrachi18@gmail.com>
Sun, 4 Aug 2019 14:32:12 +0000 (17:32 +0300)
committerakallabeth <akallabeth@users.noreply.github.com>
Mon, 19 Aug 2019 07:30:40 +0000 (09:30 +0200)
commit6cebbc2a16c353d1454182401c172a5ea57b2455
tree90e47a8eccf68b98f54388165938417d7ac064b8
parentef306fbff6c4d5b003b645651a1311dba1a5dfd4
channels: cliprdr: add lastRequestedFormatId

This one is for proxy use. The proxy must know what format is requested by the other side
of the connection, for determining if the message should be passed
or ignore (for example, if we want to allow only text, the proxy must
verify that the requested format received in Format Data Request PDU is
a text format.
channels/cliprdr/client/cliprdr_format.c
channels/cliprdr/server/cliprdr_main.c
include/freerdp/client/cliprdr.h
include/freerdp/server/cliprdr.h