diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-06-04 17:30:12 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-06-04 17:30:12 +0200 |
| commit | fb5a52884dd17d17bab47de7f53c17c05ced6e1b (patch) | |
| tree | fdb3873d295b615bfb1689c54fb76e3abb4e273f /src/block-parser.h | |
| parent | 960c477148cf832f79e89a4cdf9f3ce3389c7b06 (diff) | |
| download | cataract-fb5a52884dd17d17bab47de7f53c17c05ced6e1b.tar.xz | |
Introduce conditional system
This is very basic scripting support - simple value retrieval and
block conditionals. Defines could be either static from theme setup
or programatically added during page generation.
Diffstat (limited to 'src/block-parser.h')
| -rw-r--r-- | src/block-parser.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/block-parser.h b/src/block-parser.h index 21d0cfb..96c7fb8 100644 --- a/src/block-parser.h +++ b/src/block-parser.h @@ -31,7 +31,11 @@ BlockParser * block_parser_new (); void block_parser_free (BlockParser *parser); - +/* + * block_parser_set_conditionals: set a hash table to be used for conditionals lookup + * + */ +void block_parser_set_conditionals (BlockParser *parser, GHashTable *conditionals); /* * block_parser_register_key: tell parser to expect the key to catch |
