File indexing completed on 2024-05-12 05:22:31

0001 /*
0002  *   SPDX-FileCopyrightText: 2014 Daniel Vrátil <dvratil@redhat.com>
0003  *             (c) 2016 - 2018  Daniel Vrátil <dvratil@kde.org>
0004  *
0005  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006  */
0007 
0008 #include <config.h>
0009 #include <stdio.h>
0010 #include <stdlib.h>
0011 #include <string.h>
0012 #ifndef macintosh
0013 #include <sys/stat.h>
0014 #endif
0015 #include <assert.h>
0016 #include <fcntl.h>
0017 
0018 #include <sasl/sasl.h>
0019 #include <sasl/saslplug.h>
0020 #include <sasl/saslutil.h>
0021 
0022 #include "plugin_common.h"
0023 
0024 #ifdef WIN32
0025 BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
0026 {
0027     switch (ul_reason_for_call) {
0028     case DLL_PROCESS_ATTACH:
0029     case DLL_THREAD_ATTACH:
0030     case DLL_THREAD_DETACH:
0031     case DLL_PROCESS_DETACH:
0032         break;
0033     }
0034     return TRUE;
0035 }
0036 #endif
0037 
0038 SASL_CLIENT_PLUG_INIT(xoauth2)