comparison nss/lib/util/utilrename.h @ 0:1e5118fa0cb1

This is NSS with a Cmake Buildsyste To compile a static NSS library for Windows we've used the Chromium-NSS fork and added a Cmake buildsystem to compile it statically for Windows. See README.chromium for chromium changes and README.trustbridge for our modifications.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 28 Jul 2014 10:47:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e5118fa0cb1
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 /*
6 * utilrename.h - rename symbols moved from libnss3 to libnssutil3
7 *
8 */
9
10 #ifndef _LIBUTIL_H_
11 #define _LIBUTIL_H_ _LIBUTIL_H__Util
12
13 #ifdef USE_UTIL_DIRECTLY
14
15 /* functions moved from libnss3 */
16 #define ATOB_AsciiToData ATOB_AsciiToData_Util
17 #define ATOB_ConvertAsciiToItem ATOB_ConvertAsciiToItem_Util
18 #define BTOA_ConvertItemToAscii BTOA_ConvertItemToAscii_Util
19 #define BTOA_DataToAscii BTOA_DataToAscii_Util
20 #define CERT_GenTime2FormattedAscii CERT_GenTime2FormattedAscii_Util
21 #define DER_AsciiToTime DER_AsciiToTime_Util
22 #define DER_DecodeTimeChoice DER_DecodeTimeChoice_Util
23 #define DER_Encode DER_Encode_Util
24 #define DER_EncodeTimeChoice DER_EncodeTimeChoice_Util
25 #define DER_GeneralizedDayToAscii DER_GeneralizedDayToAscii_Util
26 #define DER_GeneralizedTimeToTime DER_GeneralizedTimeToTime_Util
27 #define DER_GetInteger DER_GetInteger_Util
28 #define DER_Lengths DER_Lengths_Util
29 #define DER_TimeChoiceDayToAscii DER_TimeChoiceDayToAscii_Util
30 #define DER_TimeToGeneralizedTime DER_TimeToGeneralizedTime_Util
31 #define DER_TimeToGeneralizedTimeArena DER_TimeToGeneralizedTimeArena_Util
32 #define DER_TimeToUTCTime DER_TimeToUTCTime_Util
33 #define DER_UTCDayToAscii DER_UTCDayToAscii_Util
34 #define DER_UTCTimeToAscii DER_UTCTimeToAscii_Util
35 #define DER_UTCTimeToTime DER_UTCTimeToTime_Util
36 #define NSS_PutEnv NSS_PutEnv_Util
37 #define NSSBase64_DecodeBuffer NSSBase64_DecodeBuffer_Util
38 #define NSSBase64_EncodeItem NSSBase64_EncodeItem_Util
39 #define NSSBase64Decoder_Create NSSBase64Decoder_Create_Util
40 #define NSSBase64Decoder_Destroy NSSBase64Decoder_Destroy_Util
41 #define NSSBase64Decoder_Update NSSBase64Decoder_Update_Util
42 #define NSSBase64Encoder_Create NSSBase64Encoder_Create_Util
43 #define NSSBase64Encoder_Destroy NSSBase64Encoder_Destroy_Util
44 #define NSSBase64Encoder_Update NSSBase64Encoder_Update_Util
45 #define NSSRWLock_Destroy NSSRWLock_Destroy_Util
46 #define NSSRWLock_HaveWriteLock NSSRWLock_HaveWriteLock_Util
47 #define NSSRWLock_LockRead NSSRWLock_LockRead_Util
48 #define NSSRWLock_LockWrite NSSRWLock_LockWrite_Util
49 #define NSSRWLock_New NSSRWLock_New_Util
50 #define NSSRWLock_UnlockRead NSSRWLock_UnlockRead_Util
51 #define NSSRWLock_UnlockWrite NSSRWLock_UnlockWrite_Util
52 #define PORT_Alloc PORT_Alloc_Util
53 #define PORT_ArenaAlloc PORT_ArenaAlloc_Util
54 #define PORT_ArenaGrow PORT_ArenaGrow_Util
55 #define PORT_ArenaMark PORT_ArenaMark_Util
56 #define PORT_ArenaRelease PORT_ArenaRelease_Util
57 #define PORT_ArenaStrdup PORT_ArenaStrdup_Util
58 #define PORT_ArenaUnmark PORT_ArenaUnmark_Util
59 #define PORT_ArenaZAlloc PORT_ArenaZAlloc_Util
60 #define PORT_Free PORT_Free_Util
61 #define PORT_FreeArena PORT_FreeArena_Util
62 #define PORT_GetError PORT_GetError_Util
63 #define PORT_NewArena PORT_NewArena_Util
64 #define PORT_Realloc PORT_Realloc_Util
65 #define PORT_SetError PORT_SetError_Util
66 #define PORT_SetUCS2_ASCIIConversionFunction PORT_SetUCS2_ASCIIConversionFunction_Util
67 #define PORT_SetUCS2_UTF8ConversionFunction PORT_SetUCS2_UTF8ConversionFunction_Util
68 #define PORT_SetUCS4_UTF8ConversionFunction PORT_SetUCS4_UTF8ConversionFunction_Util
69 #define PORT_Strdup PORT_Strdup_Util
70 #define PORT_UCS2_ASCIIConversion PORT_UCS2_ASCIIConversion_Util
71 #define PORT_UCS2_UTF8Conversion PORT_UCS2_UTF8Conversion_Util
72 #define PORT_ZAlloc PORT_ZAlloc_Util
73 #define PORT_ZFree PORT_ZFree_Util
74 #define SEC_ASN1Decode SEC_ASN1Decode_Util
75 #define SEC_ASN1DecodeInteger SEC_ASN1DecodeInteger_Util
76 #define SEC_ASN1DecodeItem SEC_ASN1DecodeItem_Util
77 #define SEC_ASN1DecoderAbort SEC_ASN1DecoderAbort_Util
78 #define SEC_ASN1DecoderClearFilterProc SEC_ASN1DecoderClearFilterProc_Util
79 #define SEC_ASN1DecoderClearNotifyProc SEC_ASN1DecoderClearNotifyProc_Util
80 #define SEC_ASN1DecoderFinish SEC_ASN1DecoderFinish_Util
81 #define SEC_ASN1DecoderSetFilterProc SEC_ASN1DecoderSetFilterProc_Util
82 #define SEC_ASN1DecoderSetNotifyProc SEC_ASN1DecoderSetNotifyProc_Util
83 #define SEC_ASN1DecoderStart SEC_ASN1DecoderStart_Util
84 #define SEC_ASN1DecoderUpdate SEC_ASN1DecoderUpdate_Util
85 #define SEC_ASN1Encode SEC_ASN1Encode_Util
86 #define SEC_ASN1EncodeInteger SEC_ASN1EncodeInteger_Util
87 #define SEC_ASN1EncodeItem SEC_ASN1EncodeItem_Util
88 #define SEC_ASN1EncoderAbort SEC_ASN1EncoderAbort_Util
89 #define SEC_ASN1EncoderClearNotifyProc SEC_ASN1EncoderClearNotifyProc_Util
90 #define SEC_ASN1EncoderClearStreaming SEC_ASN1EncoderClearStreaming_Util
91 #define SEC_ASN1EncoderClearTakeFromBuf SEC_ASN1EncoderClearTakeFromBuf_Util
92 #define SEC_ASN1EncoderFinish SEC_ASN1EncoderFinish_Util
93 #define SEC_ASN1EncoderSetNotifyProc SEC_ASN1EncoderSetNotifyProc_Util
94 #define SEC_ASN1EncoderSetStreaming SEC_ASN1EncoderSetStreaming_Util
95 #define SEC_ASN1EncoderSetTakeFromBuf SEC_ASN1EncoderSetTakeFromBuf_Util
96 #define SEC_ASN1EncoderStart SEC_ASN1EncoderStart_Util
97 #define SEC_ASN1EncoderUpdate SEC_ASN1EncoderUpdate_Util
98 #define SEC_ASN1EncodeUnsignedInteger SEC_ASN1EncodeUnsignedInteger_Util
99 #define SEC_ASN1LengthLength SEC_ASN1LengthLength_Util
100 #define SEC_QuickDERDecodeItem SEC_QuickDERDecodeItem_Util
101 #define SECITEM_AllocItem SECITEM_AllocItem_Util
102 #define SECITEM_ArenaDupItem SECITEM_ArenaDupItem_Util
103 #define SECITEM_CompareItem SECITEM_CompareItem_Util
104 #define SECITEM_CopyItem SECITEM_CopyItem_Util
105 #define SECITEM_DupItem SECITEM_DupItem_Util
106 #define SECITEM_FreeItem SECITEM_FreeItem_Util
107 #define SECITEM_ItemsAreEqual SECITEM_ItemsAreEqual_Util
108 #define SECITEM_ZfreeItem SECITEM_ZfreeItem_Util
109 #define SECOID_AddEntry SECOID_AddEntry_Util
110 #define SECOID_CompareAlgorithmID SECOID_CompareAlgorithmID_Util
111 #define SECOID_CopyAlgorithmID SECOID_CopyAlgorithmID_Util
112 #define SECOID_DestroyAlgorithmID SECOID_DestroyAlgorithmID_Util
113 #define SECOID_FindOID SECOID_FindOID_Util
114 #define SECOID_FindOIDByTag SECOID_FindOIDByTag_Util
115 #define SECOID_FindOIDTag SECOID_FindOIDTag_Util
116 #define SECOID_FindOIDTagDescription SECOID_FindOIDTagDescription_Util
117 #define SECOID_GetAlgorithmTag SECOID_GetAlgorithmTag_Util
118 #define SECOID_SetAlgorithmID SECOID_SetAlgorithmID_Util
119 #define SGN_CompareDigestInfo SGN_CompareDigestInfo_Util
120 #define SGN_CopyDigestInfo SGN_CopyDigestInfo_Util
121 #define SGN_CreateDigestInfo SGN_CreateDigestInfo_Util
122 #define SGN_DestroyDigestInfo SGN_DestroyDigestInfo_Util
123
124 /* templates moved from libnss3 */
125 #define NSS_Get_SEC_AnyTemplate NSS_Get_SEC_AnyTemplate_Util
126 #define NSS_Get_SEC_BitStringTemplate NSS_Get_SEC_BitStringTemplate_Util
127 #define NSS_Get_SEC_BMPStringTemplate NSS_Get_SEC_BMPStringTemplate_Util
128 #define NSS_Get_SEC_BooleanTemplate NSS_Get_SEC_BooleanTemplate_Util
129 #define NSS_Get_SEC_GeneralizedTimeTemplate NSS_Get_SEC_GeneralizedTimeTemplate_Util
130 #define NSS_Get_SEC_IA5StringTemplate NSS_Get_SEC_IA5StringTemplate_Util
131 #define NSS_Get_SEC_IntegerTemplate NSS_Get_SEC_IntegerTemplate_Util
132 #define NSS_Get_SEC_NullTemplate NSS_Get_SEC_NullTemplate_Util
133 #define NSS_Get_SEC_ObjectIDTemplate NSS_Get_SEC_ObjectIDTemplate_Util
134 #define NSS_Get_SEC_OctetStringTemplate NSS_Get_SEC_OctetStringTemplate_Util
135 #define NSS_Get_SEC_PointerToAnyTemplate NSS_Get_SEC_PointerToAnyTemplate_Util
136 #define NSS_Get_SEC_PointerToOctetStringTemplate NSS_Get_SEC_PointerToOctetStringTemplate_Util
137 #define NSS_Get_SEC_SetOfAnyTemplate NSS_Get_SEC_SetOfAnyTemplate_Util
138 #define NSS_Get_SEC_UTCTimeTemplate NSS_Get_SEC_UTCTimeTemplate_Util
139 #define NSS_Get_SEC_UTF8StringTemplate NSS_Get_SEC_UTF8StringTemplate_Util
140 #define NSS_Get_SECOID_AlgorithmIDTemplate NSS_Get_SECOID_AlgorithmIDTemplate_Util
141 #define NSS_Get_sgn_DigestInfoTemplate NSS_Get_sgn_DigestInfoTemplate_Util
142 #define SEC_AnyTemplate SEC_AnyTemplate_Util
143 #define SEC_BitStringTemplate SEC_BitStringTemplate_Util
144 #define SEC_BMPStringTemplate SEC_BMPStringTemplate_Util
145 #define SEC_BooleanTemplate SEC_BooleanTemplate_Util
146 #define SEC_GeneralizedTimeTemplate SEC_GeneralizedTimeTemplate_Util
147 #define SEC_IA5StringTemplate SEC_IA5StringTemplate_Util
148 #define SEC_IntegerTemplate SEC_IntegerTemplate_Util
149 #define SEC_NullTemplate SEC_NullTemplate_Util
150 #define SEC_ObjectIDTemplate SEC_ObjectIDTemplate_Util
151 #define SEC_OctetStringTemplate SEC_OctetStringTemplate_Util
152 #define SEC_PointerToAnyTemplate SEC_PointerToAnyTemplate_Util
153 #define SEC_PointerToOctetStringTemplate SEC_PointerToOctetStringTemplate_Util
154 #define SEC_SetOfAnyTemplate SEC_SetOfAnyTemplate_Util
155 #define SEC_UTCTimeTemplate SEC_UTCTimeTemplate_Util
156 #define SEC_UTF8StringTemplate SEC_UTF8StringTemplate_Util
157 #define SECOID_AlgorithmIDTemplate SECOID_AlgorithmIDTemplate_Util
158 #define sgn_DigestInfoTemplate sgn_DigestInfoTemplate_Util
159
160 #endif /* USE_UTIL_DIRECTLY */
161
162 #endif /* _LIBUTIL_H_ */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)