Previous | Contents | Index |
Obsolete subroutine: use the more general POPSTORE_user_list_d
subroutine.
int POPSTORE_user_list (list_context, pattern, pattern_len, user, user_len, max_user_len) POPSTORE_list_context **list_context; char *pattern; int pattern_len; char *user; int *user_len; int max_user_len;
List context maintained by POPSTORE_user_list. Used for input and output.
user_context
Optional username pattern. Used for input only.
pattern
Length in bytes of the optional username pattern,
pattern_len
pattern
. Used for input only.Buffer to receive the returned username. Length of this buffer should be at least POPSTORE_MAX_USER_LEN+1 bytes long. Used for output only.
user
Length in bytes of the username returned in
user_len
user
. Used for output only.Maximum length in bytes of the buffer,
max_user_len
user
. Used for input only.
Although still supported,POPSTORE_user_list
is obsolete. Instead use the more generalPOPSTORE_user_list_d
subroutine.
POPSTORE_SUCCESS Normal, successful completion. POPSTORE_BADARG Bad value supplied for the list_context
,user
,user_len
, ormax_user_len
argument.POPSTORE_DBBADLENGTH Retrieved a record from the database which has an unexpected length. In practice, this error should never occur. POPSTORE_DBERR An unknown error occurred while attempting to read from the user database. In practice, this error should never occur. POPSTORE_DBOPNERR Unable to open the user database. POPSTORE_DBMISSING User database does not exist; create it with the X-BUILD-USER-DB command of the command-line popstore management utility. POPSTORE_EOM No more usernames to return POPSTORE_FILOPNERR Unable to open the profile path file. See Section 14.2 for details. POPSTORE_INSUFPRIV Process has insufficient privileges to access the user database. POPSTORE_VMERROR Insufficient virtual memory.
Previous | Next | Contents | Index |