Method
PurpleProtocolgenerate_account_name
unstable since: 3.0
Declaration [src]
char*
purple_protocol_generate_account_name (
  PurpleProtocol* protocol,
  PurpleAccount* account,
  guint n_accounts
)
      Description [src]
Generates a name for an account.
This is used to attempt to generate a simple name for an account. Something like “IRC 1”.
The n_accounts parameter is the number of existing accounts with the same protocol.
This may be called multiple times for the same account if a duplicate account name is found.
Available since: 3.0
Parameters
account- 
            
Type:
PurpleAccountThe account whose name to generate.
The data is owned by the caller of the method.  n_accounts- 
            
Type:
guintThe number of accounts.