summaryrefslogtreecommitdiff
path: root/frm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-08-28 19:43:03 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-08-28 19:43:03 +0000
commit057471f6debcf726ac515f029e71bf8af819a671 (patch)
tree18044d0bebe032964a920eeb64d33e83ca26cb2e /frm
parentc255ceba0afb0830fa679c8849fbf6cf96ab81a7 (diff)
downloadmailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.gz
mailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.bz2
Use "tls" command line capability.
Diffstat (limited to 'frm')
-rw-r--r--frm/frm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/frm/frm.c b/frm/frm.c
index 904dce9be..e40eb34cf 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -39,6 +39,7 @@
39#include <mailutils/stream.h> 39#include <mailutils/stream.h>
40#include <mailutils/url.h> 40#include <mailutils/url.h>
41#include <mailutils/nls.h> 41#include <mailutils/nls.h>
42#include <mailutils/tls.h>
42 43
43static char* show_field; 44static char* show_field;
44static int show_to; 45static int show_to;
@@ -161,6 +162,9 @@ static const char *frm_argp_capa[] = {
161 "common", 162 "common",
162 "license", 163 "license",
163 "mailbox", 164 "mailbox",
165#ifdef WITH_TLS
166 "tls",
167#endif
164 NULL 168 NULL
165}; 169};
166 170
@@ -308,6 +312,9 @@ main(int argc, char **argv)
308 mu_init_nls (); 312 mu_init_nls ();
309 313
310 mu_argp_init (program_version, NULL); 314 mu_argp_init (program_version, NULL);
315#ifdef WITH_TLS
316 mu_tls_init_client_argp ();
317#endif
311 mu_argp_parse (&argp, &argc, &argv, 0, frm_argp_capa, &c, NULL); 318 mu_argp_parse (&argp, &argc, &argv, 0, frm_argp_capa, &c, NULL);
312 319
313 /* have an argument */ 320 /* have an argument */
@@ -323,6 +330,7 @@ main(int argc, char **argv)
323 registrar_get_list (&bookie); 330 registrar_get_list (&bookie);
324 list_append (bookie, mbox_record); 331 list_append (bookie, mbox_record);
325 list_append (bookie, path_record); 332 list_append (bookie, path_record);
333 list_append (bookie, mh_record);
326 list_append (bookie, pop_record); 334 list_append (bookie, pop_record);
327 list_append (bookie, imap_record); 335 list_append (bookie, imap_record);
328 } 336 }

Return to:

Send suggestions and report system problems to the System administrator.