Searched refs:rpbuf (Results 1 – 1 of 1) sorted by relevance
303 struct smb_share_info_1 *rpbuf, *ep; in rap_netshareenum() local309 rpbuf = malloc(bufsize); in rap_netshareenum()310 if (rpbuf == NULL) in rap_netshareenum()313 error = smb_rap_NetShareEnum(ctx, 1, rpbuf, &bufsize, &entries, &total); in rap_netshareenum()316 free(rpbuf); in rap_netshareenum()322 free(rpbuf); in rap_netshareenum()327 for (ep = rpbuf, elp = entry_list, i = 0, nreturned = 0; i < entries; in rap_netshareenum()338 cp = (char *)rpbuf + ep->shi1_remark; in rap_netshareenum()348 free(rpbuf); in rap_netshareenum()