Lines Matching refs:hp
105 SLPBoolean slp_UnpackAttrReply(slp_handle_impl_t *hp, char *reply,
120 if (!hp->async) {
124 if (!hp->async && pcAttrList) {
125 cb(hp, pcAttrList, SLP_OK, cookie);
128 cb(hp, NULL, SLP_LAST_CALL, cookie);
140 return (cb(hp, NULL, errCode, cookie));
156 if ((!hp->internal_call && slp_get_security_on()) || auth_cnt > 0) {
173 if (!hp->async) {
177 cont = cb((SLPHandle) hp, pcAttrList, errCode, cookie);
185 if (!hp->internal_call && *numResults == maxResults) {
196 static SLPBoolean unpackDAAdvert_attr(slp_handle_impl_t *hp, char *reply,
206 if (!hp->async) {
210 if (!hp->async && attrs) {
211 cb(hp, attrs, SLP_OK, cookie);
214 cb(hp, NULL, SLP_LAST_CALL, cookie);
223 return (cb(hp, NULL, errCode, cookie));
227 if (!hp->async) {
231 cont = cb((SLPHandle) hp, attrs, errCode, cookie);
242 if (!hp->internal_call && *numResults == maxResults) {
253 static SLPBoolean unpackSAAdvert_attr(slp_handle_impl_t *hp, char *reply,
262 if (!hp->async) {
266 if (!hp->async && attrs) {
267 cb(hp, attrs, SLP_OK, cookie);
270 cb(hp, NULL, SLP_LAST_CALL, cookie);
279 if (!hp->async) {
283 cont = cb((SLPHandle) hp, attrs, SLP_OK, cookie);
293 if (!hp->internal_call && *numResults == maxResults) {
300 static SLPError slp_packAttrRqst(slp_handle_impl_t *hp, const char *url,
304 slp_msg_t *msg = &(hp->msg);
385 hp->fid = ATTRRQST;