Lines Matching refs:err

143 	SLPError err;
158 if ((err = find_SAscopes(&pcScopeList)) != SLP_OK) {
159 return (err);
162 if ((err = slp_start_call(hSLP)) != SLP_OK)
163 return (err);
166 if ((err = packSrvReg(
171 return (err);
174 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK &&
179 err = packSrvReg(
182 if (err == SLP_OK) {
183 err = add_rereg(pcSrvURL, rereg_msg, usLifetime);
188 return (err);
196 SLPError err;
229 err = SLP_MEMORY_ALLOC_FAILED;
242 err = SLP_MEMORY_ALLOC_FAILED;
247 if ((err = slp_add_header(hp->locale, m, msgLen, SRVREG, 0, &len))
256 if ((err = slp_add_sht(m, msgLen, lifetime, &len)) != SLP_OK)
263 if ((err = slp_add_string(m, msgLen, url, &len)) != SLP_OK)
272 err = slp_sign(&((*msg)->urlbytes), 1, ts,
274 if (err != SLP_OK) {
281 if ((err = slp_add_string(m, msgLen, type, &len)) != SLP_OK)
283 if ((err = slp_add_string(m, msgLen, scope, &len)) != SLP_OK)
290 if ((err = slp_add_string(m, msgLen, attrs, &len)) != SLP_OK)
299 err = slp_sign(&((*msg)->attrbytes), 1, ts,
301 if (err != SLP_OK) {
311 err = SLP_PARAMETER_BAD;
324 return (err);
331 SLPError err;
341 if ((err = find_SAscopes(&pcScopeList))
343 return (err);
346 if ((err = slp_start_call(hSLP)) != SLP_OK)
347 return (err);
350 if ((err = packSrvDereg(hSLP, pURL, pcScopeList, NULL, &msg))
354 return (err);
357 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK) {
362 return (err);
368 SLPError err;
381 if ((err = find_SAscopes(&pcScopeList))
383 return (err);
386 if ((err = slp_start_call(hSLP)) != SLP_OK)
387 return (err);
390 if ((err = packSrvDereg(hSLP, pURL, pcScopeList, pcAttrs, &msg))
394 return (err);
405 SLPError err;
437 err = SLP_MEMORY_ALLOC_FAILED;
442 if ((err = slp_add_header(
447 if ((err = slp_add_string(m, msgLen, scopes, &len)) != SLP_OK)
452 if ((err = slp_add_sht(m, msgLen, 0, &len)) != SLP_OK)
459 if ((err = slp_add_string(m, msgLen, url, &len)) != SLP_OK)
468 err = slp_sign(&((*msg)->urlbytes), 1, 0,
470 if (err != SLP_OK) {
477 if ((err = slp_add_string(m, msgLen, attrs, &len)) != SLP_OK)
488 err = SLP_PARAMETER_BAD;
501 return (err);
509 SLPError err;
512 if ((err = start_reg_thr()) != SLP_OK)
516 err = enqueue_reg(hp, msg, cookie, callback);
518 err = reg_impl(hp, msg, cookie, callback);
522 if (err != SLP_OK)
524 return (err);
551 SLPError err = SLP_OK;
561 reg_q = slp_new_queue(&err);
562 if (err != SLP_OK) {
574 err = SLP_INTERNAL_SYSTEM_ERROR;
581 return (err);
630 SLPError err;
636 if ((err = slp_get_sht(p, 0, NULL, &call_err)) != SLP_OK)
637 return (err);
651 SLPError err, call_err;
656 if ((err = slp_send2slpd_iov(msg->msgiov, msg->msgiov_len, &reply))
664 if ((err = UnpackSrvAck(reply, &call_err)) != SLP_OK)
677 return (err);
694 SLPError err = SLP_OK;
704 err = SLP_MEMORY_ALLOC_FAILED;
711 err = SLP_MEMORY_ALLOC_FAILED;
738 return (err);
839 SLPError err;
841 if ((err = slp_administrative_scopes(scopes, SLP_TRUE))
843 return (err);