Parse Ifdef Commands. More...
#include "config.h"#include <stdbool.h>#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "ifdef.h"#include "color/lib.h"#include "key/lib.h"#include "parse/lib.h"#include "store/lib.h"#include "version.h"
Include dependency graph for ifdef.c:Go to the source code of this file.
Functions | |
| static bool | is_function (const char *name) |
| Is the argument a neomutt function? | |
| static bool | is_color_object (const char *name) |
| Is the argument a neomutt colour? | |
| enum CommandResult | parse_ifdef (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'ifdef' and 'ifndef' commands - Implements Command::parse() -. | |
| enum CommandResult | parse_finish (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'finish' command - Implements Command::parse() -. | |
Parse Ifdef Commands.
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 ifdef.c.
|
static |
|
static |
Is the argument a neomutt colour?
| name | Colour name to be searched for |
| true | Function found |
| false | Function not found |
Definition at line 69 of file ifdef.c.
Here is the call graph for this function:
Here is the caller graph for this function: