Home
last modified time | relevance | path

Searched refs:pcInbuf (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libslp/clib/
H A DSLPUtils.c442 SLPError SLPEscape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag) { in SLPEscape() argument
445 if (!pcInbuf || !ppcOutBuf) in SLPEscape()
448 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) { in SLPEscape()
454 for (pin = (char *)pcInbuf, pout = buf; *pin; ) { in SLPEscape()
484 SLPError SLPUnescape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag) { in SLPUnescape() argument
485 if (!pcInbuf || !ppcOutBuf) in SLPUnescape()
488 return (slp_unescape(pcInbuf, ppcOutBuf, isTag, '\\')); in SLPUnescape()
495 static SLPError slp_unescape(const char *pcInbuf, char **ppcOutBuf, in slp_unescape() argument
499 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) { in slp_unescape()
506 for (pin = (char *)pcInbuf, pout = buf; *pin; ) { in slp_unescape()
H A Dslp.h301 const char *pcInbuf, /* buffer to process */
312 const char *pcInbuf, /* buffer to process */
H A Dllib-lslp68 SLPError SLPEscape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag);
70 SLPError SLPUnescape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag);