int VLDB_ListAttributesN2(VldbListByAttributes *attrp, char *name, afs_int32 thisindex, afs_int32 *nentriesp, nbulkentries *blkentriesp, afs_int32 *nextindexp) { afs_int32 code = RXGEN_OPCODE; if (newvlserver != vltype_old) { code = ubik_VL_ListAttributesN2(cstruct, 0, attrp, (name ? name : ""), thisindex, nentriesp, blkentriesp, nextindexp); if (code) return code; /* Ensure the number of entries claimed matches the no. returned */ if (*nentriesp < 0) *nentriesp = 0; if (*nentriesp > blkentriesp->nbulkentries_len) *nentriesp = blkentriesp->nbulkentries_len; } return code; }
int VLDB_ListAttributesN2(VldbListByAttributes *attrp, char *name, afs_int32 thisindex, afs_int32 *nentriesp, nbulkentries *blkentriesp, afs_int32 *nextindexp) { afs_int32 code; code = ubik_VL_ListAttributesN2(cstruct, 0, attrp, (name ? name : ""), thisindex, nentriesp, blkentriesp, nextindexp); return code; }