Lines Matching refs:msgLen
303 size_t len, tmplen, msgLen; in slp_packAttrRqst() local
332 msgLen = 2 + /* prlist length */ in slp_packAttrRqst()
338 if (!(msg->msg = calloc(1, msgLen))) { in slp_packAttrRqst()
365 err = slp_add_string(msg->msg, msgLen, url, &len); in slp_packAttrRqst()
375 err = slp_add_string(msg->msg, msgLen, ids, &len); in slp_packAttrRqst()
381 err = slp_add_string(msg->msg, msgLen, spi, &len); in slp_packAttrRqst()
404 size_t len, msgLen; in slp_packAttrRqst_single() local
406 msgLen = in slp_packAttrRqst_single()
413 if (!(*msg = calloc(msgLen, 1))) { in slp_packAttrRqst_single()
419 err = slp_add_header(lang, *msg, msgLen, ATTRRQST, msgLen, &len); in slp_packAttrRqst_single()
424 err = slp_add_string(*msg, msgLen, url, &len); in slp_packAttrRqst_single()
427 err = slp_add_string(*msg, msgLen, scopes, &len); in slp_packAttrRqst_single()
430 err = slp_add_string(*msg, msgLen, ids, &len); in slp_packAttrRqst_single()
434 err = slp_add_string(*msg, msgLen, "", &len); in slp_packAttrRqst_single()