1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2012 Index Data
3 * See the file LICENSE for details.
9 #include <yaz/record_conv.h>
11 #include <yaz/wrbuf.h>
17 #include <yaz/base64.h>
19 #include <libxml/parser.h>
20 #include <libxml/tree.h>
24 char sample_rec[] = "MTIzNAo=";
26 yaz_base64decode(sample_rec, out_rec);
27 YAZ_CHECK(strcmp(out_rec, "1234\n") == 0);
31 int main(int argc, char **argv)
33 YAZ_CHECK_INIT(argc, argv);
45 * c-file-style: "Stroustrup"
46 * indent-tabs-mode: nil
48 * vim: shiftwidth=4 tabstop=8 expandtab