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
17 lines
477 B
C
#include "readBulk.h"
|
|
|
|
size_t getBulk(FILE * fptr, char bulk[BULKSIZE][MAX_PW_LEN]){
|
|
size_t i;
|
|
for (i = 0; i < BULKSIZE; ++i) {
|
|
if (!fgets(bulk[i], MAX_PW_LEN, fptr)){
|
|
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;
|
|
} |