2015-11-23 13:17:17 +00:00
|
|
|
/* config for dropbear embedded in SimpleSSHD */
|
2014-12-14 04:00:30 +00:00
|
|
|
#ifndef __CONFIG_H__
|
|
|
|
#define __CONFIG_H__ 1
|
|
|
|
|
|
|
|
#define HAVE_U_INT8_T 1
|
|
|
|
#define HAVE_U_INT16_T 1
|
|
|
|
#define HAVE_U_INT32_T 1
|
|
|
|
#define HAVE_UINT8_T 1
|
|
|
|
#define HAVE_UINT16_T 1
|
|
|
|
#define HAVE_UINT32_T 1
|
|
|
|
|
|
|
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
|
|
|
|
#define HAVE_STRUCT_IN6_ADDR 1
|
|
|
|
#define HAVE_STRUCT_SOCKADDR_IN6 1
|
|
|
|
#define HAVE_STRUCT_ADDRINFO 1
|
|
|
|
#define HAVE_GETADDRINFO 1
|
|
|
|
#define HAVE_FREEADDRINFO 1
|
|
|
|
#define HAVE_GETNAMEINFO 1
|
2014-12-21 01:06:02 +00:00
|
|
|
#define HAVE_FORK 1
|
2015-11-23 13:17:17 +00:00
|
|
|
#define HAVE_GAI_STRERROR 1
|
2014-12-14 04:00:30 +00:00
|
|
|
|
2014-12-14 21:18:50 +00:00
|
|
|
#define HAVE_BASENAME 1
|
|
|
|
#define HAVE_NETINET_TCP_H 1
|
2014-12-21 19:58:24 +00:00
|
|
|
#define HAVE_LIBGEN_H 1
|
2014-12-17 03:29:54 +00:00
|
|
|
#define USE_DEV_PTMX 1
|
2014-12-14 21:18:50 +00:00
|
|
|
|
2014-12-21 20:16:00 +00:00
|
|
|
#undef DISABLE_ZLIB
|
2014-12-16 22:28:01 +00:00
|
|
|
#define DISABLE_SYSLOG 1
|
2014-12-14 21:44:27 +00:00
|
|
|
|
2014-12-14 21:18:50 +00:00
|
|
|
|
|
|
|
#define DROPBEAR_SERVER 1
|
2014-12-16 21:13:04 +00:00
|
|
|
#define DBMULTI_dropbear 1
|
|
|
|
#define DROPBEAR_MULTI 1
|
2014-12-14 21:18:50 +00:00
|
|
|
|
2019-06-16 03:36:15 +00:00
|
|
|
#define LOCALOPTIONS_H_EXISTS 1
|
|
|
|
|
2020-01-01 16:17:24 +00:00
|
|
|
/* this makes dropbear much faster at receiving files */
|
2020-03-21 02:08:40 +00:00
|
|
|
#define DEFAULT_RECV_WINDOW (512*1024)
|
|
|
|
#define RECV_MAX_PAYLOAD_LEN (128*1024)
|
2014-12-17 04:05:21 +00:00
|
|
|
|
2014-12-21 01:06:02 +00:00
|
|
|
/* in jni/interface.c: */
|
2014-12-17 04:05:21 +00:00
|
|
|
extern const char *conf_path;
|
|
|
|
extern const char *conf_shell;
|
|
|
|
extern const char *conf_home;
|
2014-12-21 01:06:02 +00:00
|
|
|
const char *conf_path_file(const char *fn);
|
2015-06-20 17:52:34 +00:00
|
|
|
extern int conf_rsyncbuffer;
|
2018-05-16 20:23:12 +00:00
|
|
|
extern const char *conf_env;
|
2019-05-26 05:29:58 +00:00
|
|
|
extern const char *conf_lib;
|
2014-12-17 04:05:21 +00:00
|
|
|
|
|
|
|
|
2014-12-14 04:00:30 +00:00
|
|
|
#endif /* __CONFIG_H__ */
|