X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsubst.h;h=ad8fb61b54d55cf98b5dae192e422d449aece903;hb=1fca377a6dd854637e3d63d23c7d0cd0d48c3451;hp=dcb4b556bc0623931666a698aaaf73681677334c;hpb=79996ff8f68d2affbcaa539be213c3158af8c000;p=citadel.git diff --git a/webcit/subst.h b/webcit/subst.h index dcb4b556b..ad8fb61b5 100644 --- a/webcit/subst.h +++ b/webcit/subst.h @@ -78,21 +78,6 @@ typedef void (*WCHandlerFunc)(StrBuf *Target, WCTemplputParams *TP); /* make a template token a lookup key: */ #define TKEY(a) TP->Tokens->Params[a]->Start, TP->Tokens->Params[a]->len -/* TODO: wcsubst should be private! */ - -/* - * \brief Dynamic content for variable substitution in templates - */ -typedef struct _wcsubst { - ContextFilter Filter; - int wcs_type; /* which type of Substitution are we */ - char wcs_key[32]; /* copy of our hashkey for debugging */ - StrBuf *wcs_value; /* if we're a string, keep it here */ - long lvalue; /* type long? keep data here */ - WCHandlerFunc wcs_function; /* funcion hook ???*/ -} wcsubst; - - /** * this is the signature of a conditional function * Note: Target is just passed in for error messages; don't write onto it in regular cases.