You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
477 B
C

5 years ago
#include "readBulk.h"
size_t getBulk(FILE * fptr, char bulk[BULKSIZE][MAX_PW_LEN]){
5 years ago
size_t i;
for (i = 0; i < BULKSIZE; ++i) {
if (!fgets(bulk[i], MAX_PW_LEN, fptr)){
5 years ago
break;
}
}
return i;
}
size_t getHashBulk(FILE *fptr, struct s_rainbowvalue256 rs[BULKSIZE]){
return fread(rs, sizeof(struct s_rainbowvalue256),BULKSIZE,fptr );
}
size_t writeHashHumanReadable(FILE *fptr, struct s_rainbowvalue256 rs[BULKSIZE]){
return 0;
5 years ago
}