cs_register_esc_strfunc(3)
π cs_register_esc_strfunc β bestie edition π
okay so this one lives in the cs/cs.h header (that's the cs/cs.h manual, iykyk) and it's literally the girlboss sibling of cs_register_strfunc β same energy, but it rolls up with escaping context. periodt.
β¨ NAME β¨
cs_register_esc_strfunc β it's giving cs_register_strfunc, but with escaping context π
πΈ SYNOPSIS πΈ
#include <cs/cs.h>
NEOERR *cs_register_esc_strfunc(CSPARSE *parse, char *funcname,
CSSTRFUNC str_func);
π¦ ARGUMENTS π¦
parseβ a pointer to aCSPARSEstructure that you already initialized withcs_init(). like, you gotta set her up first, no skipping steps πfuncnameβ the name for the CS function call. and listen: registering a duplicatefuncnamewill raise aNERR_DUPLICATEerror β so don't try to double-book, she will notice πstr_funcβ aCSSTRFUNCnot-callback. that's the whole vibe, no cap π«Ά
π DESCRIPTION π
cs_register_esc_strfunc functions exactly as cs_register_strfuncβ¦ except π it changes the evaluation escaping context to disable default escaping. that's the one and only plot twist. iconic behavior, honestly.
β SEE ALSO β
cs_dump(3)cs_destroy(3)cs_render(3)cs_register_esc_strfunc(3)cs_arg_parsev(3)cs_register_fileload(3)cs_init(3)cs_register_strfunc(3)cs_arg_parse(3)cs_parse_string(3)cs_parse_file(3)=(3)cs_register_function
and that's the whole page, bestie π§ no notes, ate and left no crumbs. this one's brought to you by ClearSilver, dated 12 July 2007 β vintage but make it cute π mwah, go register some strfuncs responsibly πβ¨
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms