diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-09-16 16:16:21 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-09-16 16:16:21 +0200 |
commit | 482e7b7e1215dd78e163a6f6bfc5b8b2a83c990c (patch) | |
tree | 9ec900eea62e570abf6ae3151050985a064b7c91 /libexslt/crypto.c | |
parent | 8619ab630e705805cafa4ba24c94b6c1311d0e01 (diff) | |
download | libxslt-482e7b7e1215dd78e163a6f6bfc5b8b2a83c990c.tar.gz libxslt-482e7b7e1215dd78e163a6f6bfc5b8b2a83c990c.tar.bz2 libxslt-482e7b7e1215dd78e163a6f6bfc5b8b2a83c990c.zip |
Add API versioning and various cleanups
* doc/symbols.xml doc/syms.xsl doc/checkapisym.xsl libxslt/libxslt.syms:
the new symbol files, checking and stylesheets, based on libxml2 ones
* configure.in doc/Makefile.am libxslt/Makefile.am: modifications needed
to activate the symbol versioning
* doc/libxslt-api.xml doc/libxslt-refs.xml doc/EXSLT/libexslt-api.xml
doc/EXSLT/libexslt-refs.xml: regenerated
* libexslt/crypto.c libxslt/Makefile.am libxslt/keys.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltlocale.c
libxslt/xsltlocale.h: various cleanups
Diffstat (limited to 'libexslt/crypto.c')
-rw-r--r-- | libexslt/crypto.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libexslt/crypto.c b/libexslt/crypto.c index f88f6e96..e2700d6b 100644 --- a/libexslt/crypto.c +++ b/libexslt/crypto.c @@ -140,7 +140,7 @@ exsltCryptoCryptoApiReportError (xmlXPathParserContextPtr ctxt, LocalFree (lpMsgBuf); } -HCRYPTHASH +static HCRYPTHASH exsltCryptoCryptoApiCreateHash (xmlXPathParserContextPtr ctxt, HCRYPTPROV hCryptProv, ALG_ID algorithm, const char *msg, unsigned int msglen, @@ -203,7 +203,7 @@ exsltCryptoCryptoApiHash (xmlXPathParserContextPtr ctxt, CryptReleaseContext (hCryptProv, 0); } -void +static void exsltCryptoCryptoApiRc4Encrypt (xmlXPathParserContextPtr ctxt, const unsigned char *key, const unsigned char *msg, int msglen, @@ -254,7 +254,7 @@ exsltCryptoCryptoApiRc4Encrypt (xmlXPathParserContextPtr ctxt, CryptReleaseContext (hCryptProv, 0); } -void +static void exsltCryptoCryptoApiRc4Decrypt (xmlXPathParserContextPtr ctxt, const unsigned char *key, const unsigned char *msg, int msglen, @@ -801,6 +801,11 @@ exsltCryptoRegister (void) { } #else +/** + * exsltCryptoRegister: + * + * Registers the EXSLT - Crypto module + */ void exsltCryptoRegister (void) { } |