PMDF popstore & MessageStore Manager's Guide


Previous Contents Index


POPSTORE_user_billing

Obsolete subroutine: use the more general POPSTORE_user_billing_d subroutine.

format


int POPSTORE_user_billing (user, user_len, last_billing, 
                           user_data) 
      char               *user; 
      int                 user_len; 
      time_t              last_billing; 
      POPSTORE_user_data *user_data; 


Arguments

user

Name of the user to perform billing operations for. Used for input only.

user_len

Length in bytes of the username string, user . Used for input only.

last_billing

End time to use for this billing cycle. Used for input only.

user_data

User profile information containing the generated billing information. Used for output only.

Description

While still supported, this subroutine is now obsolete. Instead use the more general POPSTORE_user_billing_d subroutine.

Return Values

POPSTORE_SUCCESS Normal, successful completion.
POPSTORE_FILOPNERR Unable to open the profile file for reading.
POPSTORE_INSUFPRIV Insufficient privileges to access the profile file, or, on OpenVMS, the process lacks SYSLCK privilege.
POPSTORE_LCKOPNERR Unable to obtain lock information for the profile file.
POPSTORE_LOCKERROR Unable to obtain a lock for the profile file.
POPSTORE_NOSUCHUSR No such user account.
POPSTORE_READERROR An error while attempting to read data from the profile file.
POPSTORE_TOOLONG The resulting profile file name is too long.
POPSTORE_VMERROR Insufficient virtual memory.


Previous Next Contents Index