Hi,

yes, you need to create a client context and run that.

the struct functions provide client side entry points (channel and
library related stuff is initiated internally)


A good example is client/X11/cli/xfreerdp.c for the use of these functions.

client/X11/xf_client.c implements the callbacks (RdpClientEntry function)


Go through the different callbacks in xfreerdp_client_new to get an idea
of setting up and cleaning up a session.


P.s. Sorry, documentation is sparse, still trying to clean up the API
too much (internal) stuff exported :/


best

Armin


On 07/29/2018 09:26 PM, R0b0t1 via FreeRDP-devel wrote:
> What do I need to do? I tried looking at the official client and
> Remmina. Remmina helped some but I am still lost.
>
> How close is:
>
> freerdp_client_context_new();
> freerdp_client_start();
> freerdp_client_stop();
> freerdp_client_context_free();
>
> to the correct lifecycle? There are lots of other functions that do
> not seem to produce structures which are used, like freerdp_new.
>
> Of course I need to populate an RDP_CLIENT_ENTRY_POINTS (which is
> apparently not defined properly, so I use the v1 struct directly)
> before freerdp_client_context_new. Settings are provided in that same
> struct and the settings structure contains all network info. Is this
> it?
>
> Can anyone describe roughly how images are passed to the user code?
>
> Cheers,
>      R0b0t1
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> FreeRDP-devel mailing list
> FreeRDP-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to