libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

init.h (1413B)


      1 /*
      2   This file is part of libmicrohttpd
      3   Copyright (C) 2007-2018 Daniel Pittman and Christian Grothoff
      4 
      5   This library is free software; you can redistribute it and/or
      6   modify it under the terms of the GNU Lesser General Public
      7   License as published by the Free Software Foundation; either
      8   version 2.1 of the License, or (at your option) any later version.
      9 
     10   This library is distributed in the hope that it will be useful,
     11   but WITHOUT ANY WARRANTY; without even the implied warranty of
     12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13   Lesser General Public License for more details.
     14 
     15   You should have received a copy of the GNU Lesser General Public
     16   License along with this library; if not, write to the Free Software
     17   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     18 */
     19 /**
     20  * @file gnutls/init.h
     21  * @brief functions to initialize library
     22  * @author Christian Grothoff
     23  */
     24 #ifndef INIT_H
     25 #define INIT_H
     26 
     27 #include "internal.h"
     28 
     29 #ifdef _AUTOINIT_FUNCS_ARE_SUPPORTED
     30 /**
     31  * Do nothing - global initialisation is
     32  * performed by library constructor.
     33  */
     34 #define MHD_TLS_check_global_init_() (void) 0
     35 #else  /* ! _AUTOINIT_FUNCS_ARE_SUPPORTED */
     36 /**
     37  * Check whether global initialisation was performed
     38  * and call initialiser if necessary.
     39  */
     40 void
     41 MHD_TLS_check_global_init_ (void);
     42 
     43 #endif /* ! _AUTOINIT_FUNCS_ARE_SUPPORTED */
     44 
     45 
     46 #endif  /* INIT_H */