X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fstr%2Fbase32%2Fbase32.h;h=177aad7e07a4a5f7229a6a344c8675e1db907c94;hb=HEAD;hp=6960fe821e3041e8f847977ce37450acebb26e6c;hpb=61aee192bcd814b3cb9073bc0280e4ef5cc45c7d;p=ccan diff --git a/ccan/str/base32/base32.h b/ccan/str/base32/base32.h index 6960fe82..177aad7e 100644 --- a/ccan/str/base32/base32.h +++ b/ccan/str/base32/base32.h @@ -65,4 +65,13 @@ size_t base32_str_size(size_t bytes); * base32_decode(str, strlen(str), buf, sizeof(buf)); */ size_t base32_data_size(const char *str, size_t strlen); + +/** + * base32_chars - the encoding/decoding array to use. + * + * It must be at least 33 characters long, representing 32 values and + * the pad value. The default array is "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=". + */ +extern const char *base32_chars; + #endif /* CCAN_STR_BASE32_H */