DragonFly On-Line Manual Pages
PWS_PASSWORDS_CONVERTTOMULTI(3) DragonFly Library Functions Manual
NAME
pws_passwords_converttomulti - Convert an encoded password string to a
PasswordData object
LIBRARY
-lpwstor
SYNOPSIS
#include <pwstor.h>
int
pws_passwords_converttomulti(unsigned char *indata,
PasswordData *outdata, uint8_t is_b64);
DESCRIPTION
The pws_passwords_converttomulti() function converts a password string to
a PasswordData structure. A pointer to valid memory large enough to hold
the result must be passed to the function as outdata. The indata
argument should contain valid password data. If the is_b64 argument is
true, the data contained in indata must be Base64 encoded. If it is
false, the data in indata must not be Base64 encoded.
This function will return zero indicating success, or non-zero indicating
failure.
SEE ALSO
pwstor(3) pws_passwords_encode(3), pws_passwords_encodemulti(3),
pws_passwords_check(3), pws_passwords_checkmulti(3)
DragonFly 6.5-DEVELOPMENT October 23, 2008 DragonFly 6.5-DEVELOPMENT