diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 20:59:11 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 20:59:11 +0000 |
commit | d613a990ce4c522680e30db5b12d1c9e4e332ef8 (patch) | |
tree | fc1e1963694f4d9529745eb4c4fd655460fbec59 /crypto/cssm_init.h | |
parent | 5036f187c5431c1afc5bac442e1d74390d7a3fa0 (diff) | |
download | chromium_src-d613a990ce4c522680e30db5b12d1c9e4e332ef8.zip chromium_src-d613a990ce4c522680e30db5b12d1c9e4e332ef8.tar.gz chromium_src-d613a990ce4c522680e30db5b12d1c9e4e332ef8.tar.bz2 |
Rename CRYPTO_API to CRYPTO_EXPORT.
R=rvargas@chromium.org
Review URL: http://codereview.chromium.org/7491061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/cssm_init.h')
-rw-r--r-- | crypto/cssm_init.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/cssm_init.h b/crypto/cssm_init.h index 86ea19d..60fb28e 100644 --- a/crypto/cssm_init.h +++ b/crypto/cssm_init.h @@ -9,33 +9,33 @@ #include <Security/cssm.h> #include "base/basictypes.h" -#include "crypto/crypto_api.h" +#include "crypto/crypto_export.h" namespace crypto { // Initialize CSSM if it isn't already initialized. This must be called before // any other CSSM functions. This function is thread-safe, and CSSM will only // ever be initialized once. CSSM will be properly shut down on program exit. -CRYPTO_API void EnsureCSSMInit(); +CRYPTO_EXPORT void EnsureCSSMInit(); // Returns the shared CSP handle used by CSSM functions. CSSM_CSP_HANDLE GetSharedCSPHandle(); // Returns the shared CL handle used by CSSM functions. -CRYPTO_API CSSM_CL_HANDLE GetSharedCLHandle(); +CRYPTO_EXPORT CSSM_CL_HANDLE GetSharedCLHandle(); // Returns the shared TP handle used by CSSM functions. -CRYPTO_API CSSM_TP_HANDLE GetSharedTPHandle(); +CRYPTO_EXPORT CSSM_TP_HANDLE GetSharedTPHandle(); // Set of pointers to memory function wrappers that are required for CSSM extern const CSSM_API_MEMORY_FUNCS kCssmMemoryFunctions; // Utility function to log an error message including the error name. -CRYPTO_API void LogCSSMError(const char *function_name, CSSM_RETURN err); +CRYPTO_EXPORT void LogCSSMError(const char *function_name, CSSM_RETURN err); // Utility functions to allocate and release CSSM memory. void* CSSMMalloc(CSSM_SIZE size); -CRYPTO_API void CSSMFree(void* ptr); +CRYPTO_EXPORT void CSSMFree(void* ptr); // Wrapper class for CSSM_DATA type. This should only be used when using the // CL/TP/CSP handles from above, since that's the only time we're guaranteed (or |