[#SSL_SESSION_get0_ticket_appdata]
= SSL&lowbar;SESSION&lowbar;get0&lowbar;ticket&lowbar;appdata
:mrdocs:

Retrieve application data previously stored with a session ticket&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;SESSION&lowbar;get0&lowbar;ticket&lowbar;appdata(
    xref:SSL_SESSION.adoc[SSL&lowbar;SESSION]* ss,
    void** data,
    size&lowbar;t* len);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ss*
| Session whose ticket appdata is queried&period;
| *data*
| Set to the appdata bytes (not to be freed), or NULL if none&period;
| *len*
| Set to the length of `&ast;data` in bytes, or 0 if none&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
