~ubuntu-branches/ubuntu/trusty/postfix/trusty

« back to all changes in this revision

Viewing changes to src/util/base64_code.h

  • Committer: Package Import Robot
  • Author(s): LaMont Jones, LaMont Jones, localization folks
  • Date: 2014-02-11 07:44:30 UTC
  • mfrom: (58.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140211074430-kwkoxdz0fbajn0fj
Tags: 2.11.0-1
[LaMont Jones]

* New upstream release: 2.11.0

[localization folks]

* l10n: Updated German translations.  Closes: #734893 (Helge Kreutzmann)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 /*
20
20
  * External interface.
21
21
  */
22
 
extern VSTRING *base64_encode(VSTRING *, const char *, ssize_t);
23
 
extern VSTRING *base64_decode(VSTRING *, const char *, ssize_t);
 
22
extern VSTRING *base64_encode_opt(VSTRING *, const char *, ssize_t, int);
 
23
extern VSTRING *base64_decode_opt(VSTRING *, const char *, ssize_t, int);
 
24
 
 
25
#define BASE64_FLAG_NONE        0
 
26
#define BASE64_FLAG_APPEND      (1<<0)
 
27
 
 
28
#define base64_encode(bp, cp, ln) \
 
29
        base64_encode_opt((bp), (cp), (ln), BASE64_FLAG_NONE)
 
30
#define base64_decode(bp, cp, ln) \
 
31
        base64_decode_opt((bp), (cp), (ln), BASE64_FLAG_NONE)
24
32
 
25
33
/* LICENSE
26
34
/* .ad