Add sg_parms struct
This commit is contained in:
parent
642effa07b
commit
80506f18fe
1 changed files with 12 additions and 0 deletions
|
@ -79,4 +79,16 @@ int genpass(uint8_t dk[64],
|
|||
const uint8_t * passwd, size_t passwdlen, char* site,
|
||||
uint32_t maxmem, uint32_t megaops);
|
||||
|
||||
typedef struct {
|
||||
char* keyfile;
|
||||
uint32_t maxmem;
|
||||
uint32_t megaops;
|
||||
int numbers_only;
|
||||
size_t outputlength;
|
||||
uint8_t* passwd;
|
||||
size_t passwdlen;
|
||||
char* site;
|
||||
int verbose;
|
||||
} sg_parms_t, *sg_parms_ptr;
|
||||
|
||||
#endif /* !_GENPASS_H_ */
|
||||
|
|
Reference in a new issue