From fb5a52884dd17d17bab47de7f53c17c05ced6e1b Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 4 Jun 2011 17:30:12 +0200 Subject: 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. --- src/replace-table.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/replace-table.h') diff --git a/src/replace-table.h b/src/replace-table.h index 916af2b..799956d 100644 --- a/src/replace-table.h +++ b/src/replace-table.h @@ -28,6 +28,12 @@ typedef GHashTable ReplaceTable; ReplaceTable * replace_table_new (); +/* + * replace_table_new_from_defines: creates new replace table object and fills it with defines from the hash table + * + */ +ReplaceTable * replace_table_new_from_defines (GHashTable *defines); + void replace_table_free (ReplaceTable *table); -- cgit v1.2.3