comparison dbutil.h @ 1870:0dcc5b0d93fa

Make re-exec work with "dropbearmulti dropbear" The re-exec needs to know to use the dropbearmulti binary instead. Add a test for this case.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 01 Feb 2022 22:18:23 +0800
parents 90ac15aeac43
children 180e580778df
comparison
equal deleted inserted replaced
1869:d7247462fa0d 1870:0dcc5b0d93fa
97 #define DROPBEAR_FD_ZERO(fds) do { memset((fds), 0x0, sizeof(fd_set)); FD_ZERO(fds); } while(0) 97 #define DROPBEAR_FD_ZERO(fds) do { memset((fds), 0x0, sizeof(fd_set)); FD_ZERO(fds); } while(0)
98 #else 98 #else
99 #define DROPBEAR_FD_ZERO(fds) FD_ZERO(fds) 99 #define DROPBEAR_FD_ZERO(fds) FD_ZERO(fds)
100 #endif 100 #endif
101 101
102 /* dropbearmulti entry points */
103 int dropbear_main(int argc, char ** argv, const char * multipath);
104 int cli_main(int argc, char ** argv);
105 int dropbearkey_main(int argc, char ** argv);
106 int dropbearconvert_main(int argc, char ** argv);
107 int scp_main(int argc, char ** argv);
108
109
102 #endif /* DROPBEAR_DBUTIL_H_ */ 110 #endif /* DROPBEAR_DBUTIL_H_ */