qulogic/pidgin

Mark DNS API callbacks as WINAPI.
draft win-mdns
2021-02-04, Elliott Sales de Andrade
ba47703827d8
Parents 891ece71f4fd
Children 24d89976d6c8
Mark DNS API callbacks as WINAPI.
--- a/libpurple/protocols/bonjour/mdns_dnsapi.c Thu Feb 04 22:39:42 2021 -0500
+++ b/libpurple/protocols/bonjour/mdns_dnsapi.c Thu Feb 04 23:22:28 2021 -0500
@@ -92,7 +92,7 @@
/* This callback occurs in a different thread; so all it does is pass the
* result to the main context thread, or Purple will break. */
-static void
+static void WINAPI
_mdns_service_register_callback(DWORD status, PVOID pQueryContext,
PDNS_SERVICE_INSTANCE pInstance)
{
@@ -267,7 +267,7 @@
/* This callback occurs in a different thread; so all it does is pass the
* result to the main context thread, or Purple will break. */
-static void
+static void WINAPI
_mdns_service_browse_callback(DWORD status, PVOID pQueryContext,
PDNS_RECORD pDnsRecord)
{
@@ -336,7 +336,7 @@
/* This callback occurs in a different thread; so all it does is pass this to
* the main context thread, or Purple will break. */
-static void
+static void WINAPI
_mdns_null_query_callback(PVOID pQueryContext, PMDNS_QUERY_HANDLE pQueryHandle,
PDNS_QUERY_RESULT pQueryResults)
{