Display version and copyright about NeoMutt. More...
#include <stdbool.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
bool | print_version (FILE *fp) |
Print system and compile info to a file. More... | |
bool | print_copyright (void) |
Print copyright message. More... | |
bool | feature_enabled (const char *name) |
Test if a compile-time feature is enabled. More... | |
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.
bool print_version | ( | FILE * | fp | ) |
Print system and compile info to a file.
fp | File to print to |
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 420 of file version.c.
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 548 of file version.c.
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 "CompileOptions 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 575 of file version.c.