Index: lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h |
=================================================================== |
old mode 100755 |
new mode 100644 |
--- a/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h |
+++ b/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h |
@@ -70,90 +70,57 @@ |
#include "pkix_pl_ldapresponse.h" |
#endif /* !NSS_PKIX_NO_LDAP */ |
#include "pkix_pl_nsscontext.h" |
#include "pkix_pl_httpcertstore.h" |
#include "pkix_pl_httpdefaultclient.h" |
#include "pkix_pl_infoaccess.h" |
#include "pkix_sample_modules.h" |
-#define MAX_DIGITS_32 (PKIX_UInt32) 10 |
+#define MAX_DIGITS_32 (PKIX_UInt32)10 |
-#define PKIX_PL_NSSCALL(type, func, args) \ |
- PKIX_ ## type ## _DEBUG_ARG("( Calling %s).\n", #func); \ |
- (func args) |
+#define PKIX_PL_NSSCALL(type, func, args) \ |
+ PKIX_##type##_DEBUG_ARG("( Calling %s).\n", #func); \ |
+ (func args) |
-#define PKIX_PL_NSSCALLRV(type, lvalue, func, args) \ |
- PKIX_ ## type ## _DEBUG_ARG("( Calling %s).\n", #func); \ |
- lvalue = (func args) |
+#define PKIX_PL_NSSCALLRV(type, lvalue, func, args) \ |
+ PKIX_##type##_DEBUG_ARG("( Calling %s).\n", #func); \ |
+ lvalue = (func args) |
/* see source file for function documentation */ |
-PKIX_Error * |
-pkix_LockObject( |
- PKIX_PL_Object *object, |
- void *plContext); |
+PKIX_Error *pkix_LockObject(PKIX_PL_Object *object, void *plContext); |
-PKIX_Error * |
-pkix_UnlockObject( |
- PKIX_PL_Object *object, |
- void *plContext); |
+PKIX_Error *pkix_UnlockObject(PKIX_PL_Object *object, void *plContext); |
-PKIX_Boolean |
-pkix_pl_UInt32_Overflows(char *string); |
+PKIX_Boolean pkix_pl_UInt32_Overflows(char *string); |
-PKIX_Error * |
-pkix_pl_helperBytes2Ascii( |
- PKIX_UInt32 *tokens, |
- PKIX_UInt32 numTokens, |
- char **pAscii, |
- void *plContext); |
+PKIX_Error *pkix_pl_helperBytes2Ascii(PKIX_UInt32 *tokens, |
+ PKIX_UInt32 numTokens, char **pAscii, |
+ void *plContext); |
-PKIX_Error * |
-pkix_pl_ipAddrBytes2Ascii( |
- SECItem *secItem, |
- char **pAscii, |
- void *plContext); |
+PKIX_Error *pkix_pl_ipAddrBytes2Ascii(SECItem *secItem, char **pAscii, |
+ void *plContext); |
-PKIX_Error * |
-pkix_pl_oidBytes2Ascii( |
- SECItem *secItem, |
- char **pAscii, |
- void *plContext); |
+PKIX_Error *pkix_pl_oidBytes2Ascii(SECItem *secItem, char **pAscii, |
+ void *plContext); |
/* --String-Encoding-Conversion-Functions------------------------ */ |
-PKIX_Error * |
-pkix_UTF16_to_EscASCII( |
- const void *utf16String, |
- PKIX_UInt32 utf16Length, |
- PKIX_Boolean debug, |
- char **pDest, |
- PKIX_UInt32 *pLength, |
- void *plContext); |
+PKIX_Error *pkix_UTF16_to_EscASCII(const void *utf16String, |
+ PKIX_UInt32 utf16Length, PKIX_Boolean debug, |
+ char **pDest, PKIX_UInt32 *pLength, |
+ void *plContext); |
-PKIX_Error * |
-pkix_EscASCII_to_UTF16( |
- const char *escAsciiString, |
- PKIX_UInt32 escAsciiLen, |
- PKIX_Boolean debug, |
- void **pDest, |
- PKIX_UInt32 *pLength, |
- void *plContext); |
+PKIX_Error *pkix_EscASCII_to_UTF16(const char *escAsciiString, |
+ PKIX_UInt32 escAsciiLen, PKIX_Boolean debug, |
+ void **pDest, PKIX_UInt32 *pLength, |
+ void *plContext); |
-PKIX_Error * |
-pkix_UTF16_to_UTF8( |
- const void *utf16String, |
- PKIX_UInt32 utf16Length, |
- PKIX_Boolean null_Term, |
- void **pDest, |
- PKIX_UInt32 *pLength, |
- void *plContext); |
+PKIX_Error *pkix_UTF16_to_UTF8(const void *utf16String, PKIX_UInt32 utf16Length, |
+ PKIX_Boolean null_Term, void **pDest, |
+ PKIX_UInt32 *pLength, void *plContext); |
-PKIX_Error * |
-pkix_UTF8_to_UTF16( |
- const void *utf8Source, |
- PKIX_UInt32 utf8Length, |
- void **pDest, |
- PKIX_UInt32 *pLength, |
- void *plContext); |
+PKIX_Error *pkix_UTF8_to_UTF16(const void *utf8Source, PKIX_UInt32 utf8Length, |
+ void **pDest, PKIX_UInt32 *pLength, |
+ void *plContext); |
#endif /* _PKIX_PL_COMMON_H */ |