ssh

Dependents:   OS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers settings.h Source File

settings.h

00001 /* settings.h
00002  *
00003  * Copyright (C) 2014-2016 wolfSSL Inc.
00004  *
00005  * This file is part of wolfSSH.
00006  *
00007  * wolfSSH is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 3 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * wolfSSH is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with wolfSSH.  If not, see <http://www.gnu.org/licenses/>.
00019  */
00020 
00021 
00022 /*
00023  * The settings header provides a method for developers to provide the
00024  * internal preprocessor defines that the configure script provides to
00025  * environments that do not use the configure script.
00026  */
00027 
00028 
00029 #pragma once
00030 
00031 #include <wolfssh/visibility.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 
00038 /* user settings here */
00039 #ifndef WMALLOC_USER
00040     #define USE_WOLFSSH_MEMORY  /* default memory handlers */
00041 #endif /* WMALLOC_USER */
00042 
00043 
00044 #if defined (_WIN32)
00045     #define USE_WINDOWS_API
00046 #endif
00047 
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052