Function
PurpleAccountOptionstring_new
since: 2.0
Declaration [src]
PurpleAccountOption*
purple_account_option_string_new (
  const char* text,
  const char* pref_name,
  const char* default_value
)
      Parameters
text- 
            
Type:
const char*The text of the option.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  pref_name- 
            
Type:
const char*The account preference name for the option.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  default_value- 
            
Type:
const char*The default value.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  
Return value
Type: PurpleAccountOption
The account option.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |