1#ifndef _SASLPLAIN_H_ 2#define _SASLPLAIN_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 SASLPLAIN_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// SASLPLAIN_API functions as being imported from a DLL, wheras this DLL sees symbols 9// defined with this macro as being exported. 10#ifdef SASLPLAIN_EXPORTS 11#define SASLPLAIN_API __declspec(dllexport) 12#else 13#define SASLPLAIN_API __declspec(dllimport) 14#endif 15 16SASLPLAIN_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 21SASLPLAIN_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 /* _SASLPLAIN_H_ */ 26