implemented http basic authentication
[strongswan.git] / src / libcharon / plugins / tnc_ifmap2 / tnc_ifmap2_soap_msg.h
index 2dd12fe..2a50bfc 100644 (file)
@@ -52,9 +52,11 @@ struct tnc_ifmap2_soap_msg_t {
 /**
  * Create a tnc_ifmap2_soap_msg instance.
  *
- * @param uri  HTTPS URI with https:// prefix removed
- * @param tls  TLS socket protecting the SOAP message
+ * @param uri                  HTTPS URI with https:// prefix removed
+ * @param user_pass            Optional username:password for HTTP Basic Authentication
+ * @param tls                  TLS socket protecting the SOAP message
  */
-tnc_ifmap2_soap_msg_t *tnc_ifmap2_soap_msg_create(char *uri, tls_socket_t *tls);
+tnc_ifmap2_soap_msg_t *tnc_ifmap2_soap_msg_create(char *uri, chunk_t user_pass,
+                                                                                                 tls_socket_t *tls);
 
 #endif /** TNC_IFMAP2_SOAP_MSG_H_ @}*/