load_extension_value ("compatFlags", &val); opt.compat_flags = val? strtoul (val, NULL, 0) : 0; xfree (val); val = NULL;
read_options (void){  char *val = NULL;   load_extension_value ("autoSignAttachments", &val);  opt.auto_sign_attach = val == NULL || *val != '1' ? 0 : 1;  xfree (val); val = NULL;    load_extension_value ("saveDecryptedAttachments", &val);  opt.save_decrypted_attach = val == NULL || *val != '1'? 0 : 1;  xfree (val); val = NULL;  load_extension_value ("encryptDefault", &val);  opt.encrypt_default = val == NULL || *val != '1'? 0 : 1;  xfree (val); val = NULL;  load_extension_value ("signDefault", &val);  opt.sign_default = val == NULL || *val != '1'? 0 : 1;  xfree (val); val = NULL;  load_extension_value ("addDefaultKey", &val);  opt.add_default_key = val == NULL || *val != '1' ? 0 : 1;  xfree (val); val = NULL;  load_extension_value ("storePasswdTime", &val);  opt.passwd_ttl = val == NULL || *val == '0'? 0 : atol (val);  xfree (val); val = NULL;  load_extension_value ("encodingFormat", &val);  opt.enc_format = val == NULL? GPG_FMT_CLASSIC  : atol (val);  xfree (val); val = NULL;  load_extension_value ("logFile", &val);  set_log_file (val);  xfree (val); val = NULL;    load_extension_value ("defaultKey", &val);  set_default_key (val);  xfree (val); val = NULL;}