Virtual Method
PurpleProtocolRosteradd_async
unstable since: 3.0
Declaration [src]
void
add_async (
  PurpleProtocolRoster* roster,
  PurpleAccount* account,
  PurpleContact* contact,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)
      Description [src]
Requests that roster adds contact to the server side roster. When
callback is called, purple_protocol_roster_add_finish() should be called to
get the result.
Available since: 3.0
Parameters
account- 
            
Type:
PurpleAccountThe
PurpleAccountto use.The data is owned by the caller of the method.  contact- 
            
Type:
PurpleContactThe
PurpleContactto add.The data is owned by the caller of the method.  cancellable- 
            
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method.  callback- 
            
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request has completed. data- 
            
Type:
gpointerUser data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.