Lines Matching refs:hSLP
138 SLPError SLPReg(SLPHandle hSLP, const char *pcSrvURL, in SLPReg() argument
147 if (!hSLP || !pcSrvURL || !*pcSrvURL || !pcSrvType || in SLPReg()
162 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPReg()
167 hSLP, pcSrvURL, usLifetime, pcSrvType, in SLPReg()
170 slp_end_call(hSLP); in SLPReg()
174 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK && in SLPReg()
180 hSLP, pcSrvURL, usLifetime, in SLPReg()
327 SLPError SLPDereg(SLPHandle hSLP, const char *pURL, in SLPDereg() argument
333 if (!hSLP || !pURL || !*pURL || !callback) { in SLPDereg()
346 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPDereg()
350 if ((err = packSrvDereg(hSLP, pURL, pcScopeList, NULL, &msg)) in SLPDereg()
353 slp_end_call(hSLP); in SLPDereg()
357 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK) { in SLPDereg()
365 SLPError SLPDelAttrs(SLPHandle hSLP, const char *pURL, in SLPDelAttrs() argument
372 if (!hSLP || !pURL || !*pURL || !pcAttrs || !callback) { in SLPDelAttrs()
386 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPDelAttrs()
390 if ((err = packSrvDereg(hSLP, pURL, pcScopeList, pcAttrs, &msg)) in SLPDelAttrs()
393 slp_end_call(hSLP); in SLPDelAttrs()
398 return (reg_common(hSLP, msg, pvUser, callback)); in SLPDelAttrs()