1#ifndef _SASLGSSAPI_H_
2#define _SASLGSSAPI_H_
3
4// The following ifdef block is the standard way of creating macros which make exporting
5// from a DLL simpler. All files within this DLL are compiled with the SASLGSSAPI_EXPORTS
6// symbol defined on the command line. this symbol should not be defined on any project
7// that uses this DLL. This way any other project whose source files include this file see
8// SASLGSSAPI_API functions as being imported from a DLL, wheras this DLL sees symbols
9// defined with this macro as being exported.
10#ifdef SASLGSSAPI_EXPORTS
11#define SASLGSSAPI_API __declspec(dllexport)
12#else
13#define SASLGSSAPI_API __declspec(dllimport)
14#endif
15
16SASLGSSAPI_API int sasl_server_plug_init(sasl_utils_t *utils, int maxversion,
17			  int *out_version,
18			  const sasl_server_plug_t **pluglist,
19			  int *plugcount);
20
21SASLGSSAPI_API int sasl_client_plug_init(sasl_utils_t *utils, int maxversion,
22			  int *out_version, const sasl_client_plug_t **pluglist,
23			  int *plugcount);
24
25#endif /* _SASLGSSAPI_H_ */
26