Inter-Corporate Computer & Network Services, Inc. Solutions Services Support Products Company Login Contact

PwdGenD.NLM   →   ICE_GenerateRFC972password()

ICE_GenerateRFC972password

Description:
Generates one RFC972-compliant password of 8 characters, plus CRLF (totalling 10 characters), and stores it in "dest."
 
Syntax for C:
void *ICE_GenerateRFC972password (
  char *dest
);
 
Syntax for Assembly:
Call ICE_GenerateRFC972password C, offset dest
 
Parameters:
dest
(IN/OUT) 32-bit pointer to 10 bytes of memory for storing the password, if set to 0 then memory will be allocated automatically using malloc().
 
Returns:
Pointer to buffer (created by malloc()) that holds the string, if not 0

0 = Failed to allocate memory

Remarks:
The resulting string will always have an 8-character password, followed by two more bytes for CRLF (DOS-style line-termination characters).

Remember to use NetWare's free() function when you no longer need the array if you initially passed 0 for the "dest" parameter.
 

Resource files:
pwdgend.h (definition file for C/C++ developers)
pwdgend.imp (import file for most linkers)
pwdgend.inc (include file for Assembler developers)
pwdgend.wmp (import file for the Watcom Linker)
 
 
Home Solutions Services Support Products Company Login Contact
Copyright © 1992-2024 Inter-Corporate Computer & Network Services, Inc.  All rights reserved.  All trademarks are the property of their respective owners.  The information provided on this internet site does not constitute a contract with any person or entity unless otherwise specified.  Although reasonable efforts are made to present accurate information, we do not guarantee it.  Information may change without prior notice.