Blob Blame History Raw
#ifndef _NT_API_H_
#define _NT_API_H_

#include "nt_abi.h"
#include "nt_compiler.h"

/* protected visibility */
#if	defined(__attr_protected__)
#define ntapi_protected __attr_protected__
#else
#define ntapi_protected
#endif

#if   defined (NTAPI_EXPORT)
#define	__ntapi_api __attr_export__
#elif defined (NTAPI_IMPORT)
#define	__ntapi_api __attr_import__
#elif defined (NTAPI_STATIC)
#define	__ntapi_api ntapi_protected
#else
#define	__ntapi_api
#endif

#endif