parse_object_path
Description:
public static bool parse_object_path (string object_path, out string cm, out string protocol, out string account_id) throws Error
Warning: parse_object_path is deprecated.
Validates and parses a Telepathy Account's object path, extracting the connection manager's name, the protocol, and the account's unique identifier from the path.
Use get_protocol and get_connection_manager instead.
This includes replacing underscores with hyphens in the protocol name, as defined in the Account specification.
Any of the out parameters may be null
if not needed. If true
is returned, the caller is responsible for freeing the
strings stored in any non-%NULL out parameters, using g_free.
Parameters:
object_path |
a Telepathy Account's object path |
cm |
location at which to store the account's connection manager's name |
protocol |
location at which to store the account's protocol |
account_id |
location at which to store the account's unique identifier |
Returns:
|