X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fbase64.c;h=8ced9003bc3285d0261e50113a4b3545a8728131;hb=566c9bf8bfcc08b60c3cb9ae2edce8b516128203;hp=786e445abfec8d8166a603d58b0fcda95d279e1b;hpb=1b4a582b04fc39d9d4d930acb4d0803bdedfb32e;p=deb_shairplay.git diff --git a/src/lib/base64.c b/src/lib/base64.c index 786e445..8ced900 100644 --- a/src/lib/base64.c +++ b/src/lib/base64.c @@ -1,3 +1,17 @@ +/** + * Copyright (C) 2011-2012 Juho Vähä-Herttua + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ + #include #include #include @@ -18,9 +32,7 @@ struct base64_s { int skip_spaces; }; -static base64_t default_base64 = - { .charlist = DEFAULT_CHARLIST, - .use_padding = 1 }; +static base64_t default_base64 = {DEFAULT_CHARLIST, "", 0, 1, 0}; static void initialize_charmap(base64_t *base64)