Show
Ignore:
Timestamp:
08/14/08 15:18:17 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1218727097 +0000
git-parent:

[387ec00e49b4b3dfca525990537842b57511b242]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1218727097 +0000
Message:

Doc test, refs #39

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/utils/noit_b64.h

    rf1321ac rabaed3b  
    3737#include "noit_defines.h" 
    3838 
     39/*! \fn int noit_b64_decode(const char *in, size_t in_sz, unsigned char *out, size_t out_sz) 
     40    \brief Decode a base64 encoded input buffer into the provided output buffer. 
     41    \param in The buffer containing the encoded content. 
     42    \param in_sz The size (in bytes) of the encoded data. 
     43    \param out The destination buffer to which the function will produce. 
     44    \param out_sz The size of the destination buffer. 
     45    \return The size of the decoded output.  Returns zero is out_sz is too small. 
     46     
     47    noit_b64_decode decodes input until an the entire input is consumed or until an invalid base64 character is encountered. 
     48 */ 
    3949API_EXPORT(int) noit_b64_decode(const char *, size_t, unsigned char *, size_t); 
    4050API_EXPORT(int) noit_b64_encode(const unsigned char *, size_t, char *, size_t);