Display version and copyright about NeoMutt. More...
Include dependency graph for version.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | KeyValue |
| Key/Value pairs. More... | |
| struct | CompileOption |
| Built-in capability. More... | |
| struct | NeoMuttVersion |
| Version info about NeoMutt. More... | |
Functions | |
| ARRAY_HEAD (KeyValueArray, struct KeyValue) | |
| struct NeoMuttVersion * | version_get (void) |
| Get NeoMutt version info. | |
| void | version_free (struct NeoMuttVersion **ptr) |
| Free a NeoMuttVersion. | |
| const char * | mutt_make_version (void) |
| Generate the NeoMutt version string. | |
| bool | print_version (FILE *fp, bool use_ansi) |
| Print system and compile info to a file. | |
| bool | print_copyright (void) |
| Print copyright message. | |
| bool | feature_enabled (const char *name) |
| Test if a compile-time feature is enabled. | |
Display version and copyright about NeoMutt.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file version.h.
| ARRAY_HEAD | ( | KeyValueArray | , |
| struct KeyValue | ) |
| struct NeoMuttVersion * version_get | ( | void | ) |
Get NeoMutt version info.
| ptr | NeoMuttVersion |
Definition at line 469 of file version.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void version_free | ( | struct NeoMuttVersion ** | ptr | ) |
Free a NeoMuttVersion.
| ptr | NeoMuttVersion to free |
Definition at line 506 of file version.c.
Here is the call graph for this function:
Here is the caller graph for this function:| const char * mutt_make_version | ( | void | ) |
| bool print_version | ( | FILE * | fp, |
| bool | use_ansi ) |
Print system and compile info to a file.
| fp | File to print to |
| use_ansi | Use ANSI colour escape sequences |
| true | Text displayed |
Print information about the current system NeoMutt is running on. Also print a list of all the compile-time information.
Definition at line 591 of file version.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool print_copyright | ( | void | ) |
Print copyright message.
| true | Text displayed |
Print the authors' copyright messages, the GPL license and some contact information for the NeoMutt project.
Definition at line 702 of file version.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool feature_enabled | ( | const char * | name | ) |
Test if a compile-time feature is enabled.
| name | Compile-time symbol of the feature |
| true | Feature enabled |
| false | Feature not enabled, or not compiled in |
Many of the larger features of neomutt can be disabled at compile time. They define a symbol and use ifdef's around their code. The symbols are mirrored in "CompileOption CompOpts[]" in this file.
This function checks if one of these symbols is present in the code.
These symbols are also seen in the output of "neomutt -v".
Definition at line 729 of file version.c.
Here is the call graph for this function:
Here is the caller graph for this function: