aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ctemplates.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ctemplates.h b/include/ctemplates.h
index d202651..27127f6 100644
--- a/include/ctemplates.h
+++ b/include/ctemplates.h
@@ -23,15 +23,15 @@ struct TMPL_loop;
/* Holdes all the data needed for a template*/
struct TMPL_templates;
-void TMPL_add_var_to_varlist(struct TMPL_varlist* vl, char* name, char* value);
-void TMPL_add_loop_to_varlist(struct TMPL_varlist* vl, char* name, struct TMPL_loop* loop);
+void TMPL_add_var_to_varlist(struct TMPL_varlist* vl, const char* name, const char* value);
+void TMPL_add_loop_to_varlist(struct TMPL_varlist* vl, const char* name, struct TMPL_loop* loop);
void TMPL_add_varlist_to_loop(struct TMPL_loop* l, struct TMPL_varlist* vl);
struct TMPL_varlist* TMPL_alloc_varlist(void);
void TMPL_free_varlist(struct TMPL_varlist* t);
-struct TMPL_templates* TMPL_alloc_template(char* t);
+struct TMPL_templates* TMPL_alloc_template(const char* t);
void TMPL_free_template(struct TMPL_templates* t);
struct TMPL_loop* TMPL_alloc_loop(void);