added generic TLS application data handler and specific EAP-TTLS instantiation

This commit is contained in:
Andreas Steffen
2010-08-12 23:58:54 +02:00
parent 123a84d3db
commit 1327839da8
14 changed files with 335 additions and 33 deletions
+4 -1
View File
@@ -27,6 +27,7 @@ typedef struct tls_fragmentation_t tls_fragmentation_t;
#include "tls.h"
#include "tls_handshake.h"
#include "tls_handshake.h"
/**
* TLS record protocol fragmentation layer.
@@ -70,8 +71,10 @@ struct tls_fragmentation_t {
* Create a tls_fragmentation instance.
*
* @param handshake upper layer handshake protocol
* @param application upper layer application data or NULL
* @return TLS fragmentation layer.
*/
tls_fragmentation_t *tls_fragmentation_create(tls_handshake_t *handshake);
tls_fragmentation_t *tls_fragmentation_create(tls_handshake_t *handshake,
tls_application_t *application);
#endif /** TLS_FRAGMENTATION_H_ @}*/