Lines Matching refs:hSLP
136 SLPError SLPReg(SLPHandle hSLP, const char *pcSrvURL, in SLPReg() argument
145 if (!hSLP || !pcSrvURL || !*pcSrvURL || !pcSrvType || in SLPReg()
160 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPReg()
165 hSLP, pcSrvURL, usLifetime, pcSrvType, in SLPReg()
168 slp_end_call(hSLP); in SLPReg()
172 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK && in SLPReg()
178 hSLP, pcSrvURL, usLifetime, in SLPReg()
325 SLPError SLPDereg(SLPHandle hSLP, const char *pURL, in SLPDereg() argument
331 if (!hSLP || !pURL || !*pURL || !callback) { in SLPDereg()
344 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPDereg()
348 if ((err = packSrvDereg(hSLP, pURL, pcScopeList, NULL, &msg)) in SLPDereg()
351 slp_end_call(hSLP); in SLPDereg()
355 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK) { in SLPDereg()
363 SLPError SLPDelAttrs(SLPHandle hSLP, const char *pURL, in SLPDelAttrs() argument
370 if (!hSLP || !pURL || !*pURL || !pcAttrs || !callback) { in SLPDelAttrs()
384 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPDelAttrs()
388 if ((err = packSrvDereg(hSLP, pURL, pcScopeList, pcAttrs, &msg)) in SLPDelAttrs()
391 slp_end_call(hSLP); in SLPDelAttrs()
396 return (reg_common(hSLP, msg, pvUser, callback)); in SLPDelAttrs()