Data Structures | |
struct | libnfsnapi_account_t |
Enumerations | |
enum | libnfsnapi_account_balance_t { LIBNFSNAPI_BALANCE_ALL = 0, LIBNFSNAPI_BALANCE_CASH = 1, LIBNFSNAPI_BALANCE_CREDIT = 2, LIBNFSNAPI_BALANCE_HIGH = 3 } |
Functions | |
libnfsnapi_account_t * | libnfsnapi_account_create (libnfsnapi_mgr_t *mgr, const char *account_id) |
void | libnfsnapi_account_destroy (libnfsnapi_account_t *account) |
int | libnfsnapi_account_balance (libnfsnapi_account_t *account, libnfsnapi_account_balance_t type) |
char * | libnfsnapi_account_friendlyName (libnfsnapi_account_t *account) |
|
|
Create an Account object.
Definition at line 15 of file account.c. References LIBNFSNAPI_ERROR_MEMORY. |
|
Destroy an Account object, and free all memory associated with it. Do not use this pointer after calling this function. |
|
Retrieve the account's balance.
Definition at line 47 of file account.c. References LIBNFSNAPI_ERROR_ARGUMENT, and LIBNFSNAPI_ERROR_MEMORY. |
|
Retrieve the account's human-friendly name.
Definition at line 84 of file account.c. References LIBNFSNAPI_ERROR_MEMORY. |