Implemented TLS Alert handling
[strongswan.git] / src / libtls / tls_server.h
index 6dc26cd..6289dc8 100644 (file)
@@ -41,8 +41,15 @@ struct tls_server_t {
 
 /**
  * Create a tls_server instance.
+ *
+ * @param tls          TLS stack
+ * @param crypto       TLS crypto helper
+ * @param alert                TLS alert handler
+ * @param server       server identity
+ * @param peer         peer identity
  */
-tls_server_t *tls_server_create(tls_t *tls, tls_crypto_t *crypto,
-                                                       identification_t *server, identification_t *peer);
+tls_server_t *tls_server_create(tls_t *tls,
+                                               tls_crypto_t *crypto, tls_alert_t *alert,
+                                               identification_t *server, identification_t *peer);
 
 #endif /** TLS_SERVER_H_ @}*/