menuselect: Add ability to set deprecated and removed versions.

The "deprecated_in" and "removed_in" information can now be
set in MODULEINFO for a module and is then displayed in
menuselect so users can be aware of when a module is slated
to be deprecated and then removed.

ASTERISK-29337

Change-Id: I6952889cf08e0e9e99cf8b43f99b3cef4688087a
This commit is contained in:
Joshua C. Colp
2021-03-10 10:05:58 -04:00
committed by George Joseph
parent 3330fb41f4
commit efc61a96f0
4 changed files with 50 additions and 2 deletions

View File

@@ -70,6 +70,8 @@ struct member {
const char *touch_on_change;
const char *support_level;
const char *replacement;
const char *deprecated_in;
const char *removed_in;
/*! member_data is just an opaque, member-specific string */
const char *member_data;
/*! This module is currently selected */