v3_get_account()
v3_account *v3_get_account(uint16_t id);Retrieves a copy of the account structure for the account with the specified account id. This function allocates memory. When the account structure is no longer needed, you must free the memory by calling v3_free_account()
Arguments
| Type | Description |
| uint16_t id | An account id |
Returns
A pointer to the newly allocated memory containing a copy of the account structure.
