1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) Index Data
3 * See the file LICENSE for details.
8 * \brief Initialize global things
20 #include <gnutls/gnutls.h>
27 static int yaz_init_flag = 0;
29 extern void yaz_log_init_globals(void);
31 void yaz_init_globals(void)
36 yaz_log_init_globals();
41 /* most likely, GnuTLS has initialized libgcrypt */
42 if (gcry_control(GCRYCTL_ANY_INITIALIZATION_P) == 0)
44 gcry_control(GCRYCTL_INITIALIZATION_FINISHED, NULL, 0);
53 * c-file-style: "Stroustrup"
54 * indent-tabs-mode: nil
56 * vim: shiftwidth=4 tabstop=8 expandtab