char **patterns;
int return_subscribed = 0;
int return_children = 0;
- int return_metadata = 0;
+ int return_metadata = 0; /* FIXME obsolete remove this */
int i = 0;
int match = 0;
patterns = (char **) data_for_callback[3];
return_subscribed = (int) data_for_callback[4];
return_children = (int) data_for_callback[5];
- return_metadata = (int) data_for_callback[6];
+ return_metadata = (int) data_for_callback[6]; /* FIXME obsolete remove this */
/* Only list rooms to which the user has access!! */
yes_output_this_room = 0;
imap_strout(buf);
if (return_metadata) {
- cprintf(" (METADATA ())"); /* FIXME */
+ cprintf(" (METADATA ())"); /* FIXME obsolete remove this */
}
cprintf("\r\n");
int extended_list_in_use = 0;
int return_subscribed = 0;
int return_children = 0;
- int return_metadata = 0;
- int select_metadata_left = (-1);
- int select_metadata_right = (-1);
- int select_metadata_nest = 0;
+ int return_metadata = 0; /* FIXME obsolete remove this */
+ int select_metadata_left = (-1); /* FIXME obsolete remove this */
+ int select_metadata_right = (-1); /* FIXME obsolete remove this */
+ int select_metadata_nest = 0; /* FIXME obsolete remove this */
if (num_parms < 4) {
cprintf("%s BAD arguments invalid\r\n", parms[0]);
data_for_callback[3] = (char *) patterns;
data_for_callback[4] = (char *) return_subscribed;
data_for_callback[5] = (char *) return_children;
- data_for_callback[6] = (char *) return_metadata;
+ data_for_callback[6] = (char *) return_metadata; /* FIXME obsolete remove this */
/* The non-extended LIST command is required to treat an empty
* ("" string) mailbox name argument as a special request to return the
/* We are building a partial implementation of METADATA for the sole purpose
* of interoperating with the ical/vcard version of the Bynari Insight Connector.
- * If you were expecting something else, comment out one or both of these
- * extension advertisements.
+ * It is not a full RFC5464 implementation, but it should refuse non-Bynari
+ * metadata in a compatible and graceful way.
*/
cprintf(" METADATA");
- /* cprintf(" LIST-EXTENDED"); */
+
+ /*
+ * LIST-EXTENDED was originally going to be required by the METADATA extension.
+ * It was mercifully removed prior to the finalization of RFC5464. We started
+ * implementing this but stopped when we learned that it would not be needed.
+ * If you uncomment this declaration you are responsible for writing a lot of new
+ * code.
+ *
+ * cprintf(" LIST-EXTENDED")
+ */
}
/*