projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* add function to check whether a token parameter would give us a string
[citadel.git]
/
webcit
/
subst.h
diff --git
a/webcit/subst.h
b/webcit/subst.h
index 7053a4936f921a9c3431ed4d48ac65ae5bfaf73c..ca4842c20c2fb46fb4afcde3510cbb827d6cf85d 100644
(file)
--- a/
webcit/subst.h
+++ b/
webcit/subst.h
@@
-211,6
+211,14
@@
void GetTemplateTokenString(StrBuf *Target,
int N,
const char **Value,
long *len);
+/**
+ * @return whether @ref GetTemplateTokenString would be able to give you a string
+ */
+int HaveTemplateTokenString(StrBuf *Target,
+ WCTemplputParams *TP,
+ int N,
+ const char **Value,
+ long *len);