Expando Node for a Conditional Boolean. More...
#include "config.h"
#include <stdio.h>
#include "mutt/lib.h"
#include "node_condbool.h"
#include "definition.h"
#include "helpers.h"
#include "node.h"
#include "parse.h"
#include "render.h"
Go to the source code of this file.
Functions | |
struct ExpandoNode * | node_condbool_new (const char *start, const char *end, int did, int uid) |
Create a new CondBool ExpandoNode. | |
struct ExpandoNode * | node_condbool_parse (const char *str, const struct ExpandoDefinition *defs, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err) |
Parse a CondBool format string - Implements ExpandoDefinition::parse() -. | |
int | node_condbool_render (const struct ExpandoNode *node, const struct ExpandoRenderData *rdata, struct Buffer *buf, int max_cols, void *data, MuttFormatFlags flags) |
Callback for every bool node - Implements ExpandoNode::render() -. | |
Expando Node for a Conditional Boolean.
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 node_condbool.c.
struct ExpandoNode * node_condbool_new | ( | const char * | start, |
const char * | end, | ||
int | did, | ||
int | uid | ||
) |
Create a new CondBool ExpandoNode.
start | Start of string to store |
end | End of string to store |
did | Domain ID |
uid | Unique ID |
ptr | New CondBool ExpandoNode |
Definition at line 48 of file node_condbool.c.