comparison dbmulti.c @ 33:f789045062e6

Progressing client support
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Jul 2004 16:30:46 +0000
parents 223b0f5f8dce
children e3adf4cf5465
comparison
equal deleted inserted replaced
32:8fd0cdbb5b1b 33:f789045062e6
15 progname = basename(argv[0]); 15 progname = basename(argv[0]);
16 16
17 #ifdef DBMULTI_dropbear 17 #ifdef DBMULTI_dropbear
18 if (strcmp(progname, "dropbear") == 0) { 18 if (strcmp(progname, "dropbear") == 0) {
19 return dropbear_main(argc, argv); 19 return dropbear_main(argc, argv);
20 }
21 #endif
22 #ifdef DBMULTI_dbclient
23 if (strcmp(progname, "dbclient") == 0) {
24 return cli_main(argc, argv);
20 } 25 }
21 #endif 26 #endif
22 #ifdef DBMULTI_dropbearkey 27 #ifdef DBMULTI_dropbearkey
23 if (strcmp(progname, "dropbearkey") == 0) { 28 if (strcmp(progname, "dropbearkey") == 0) {
24 return dropbearkey_main(argc, argv); 29 return dropbearkey_main(argc, argv);
39 fprintf(stderr, "Dropbear multi-purpose version %s\n" 44 fprintf(stderr, "Dropbear multi-purpose version %s\n"
40 "Make a symlink pointing at this binary with one of the following names:\n" 45 "Make a symlink pointing at this binary with one of the following names:\n"
41 #ifdef DBMULTI_dropbear 46 #ifdef DBMULTI_dropbear
42 "'dropbear' - the Dropbear server\n" 47 "'dropbear' - the Dropbear server\n"
43 #endif 48 #endif
49 #ifdef DBMULTI_dbclient
50 "'dbclient' - the Dropbear client\n"
51 #endif
44 #ifdef DBMULTI_dropbearkey 52 #ifdef DBMULTI_dropbearkey
45 "'dropbearkey' - the key generator\n" 53 "'dropbearkey' - the key generator\n"
46 #endif 54 #endif
47 #ifdef DBMULTI_dropbearconvert 55 #ifdef DBMULTI_dropbearconvert
48 "'dropbearconvert' - the key converter\n" 56 "'dropbearconvert' - the key converter\n"