-DECLARE_MODULE_AV1(starttls, NULL, NULL, starttls_clist, NULL, NULL, "$Revision$");
+unsigned int CLICAP_TLS = 0;
+
+static struct ClientCapability capdata_tls = {
+ .flags = CLICAP_FLAGS_PRIORITY,
+};
+
+mapi_cap_list_av2 starttls_cap_list[] = {
+ { MAPI_CAP_CLIENT, "tls", &capdata_tls, &CLICAP_TLS },
+ { 0, NULL, NULL, NULL }
+};
+
+DECLARE_MODULE_AV2(starttls, NULL, NULL, starttls_clist, NULL, NULL, starttls_cap_list, NULL, starttls_desc);