Go to the source code of this file.
§ df_get_method()
GDBusMethodInfo* df_get_method |
( |
void |
| ) |
|
- Returns
- Pointer on GDBusMethodInfo which contains information about method (do not free it).
§ df_get_method_arg()
GDBusArgInfo* df_get_method_arg |
( |
void |
| ) |
|
- Returns
- Pointer on GDBusArgInfo which contains information about argument of current (df_get_method()) method (do not free it).
§ df_init_introspection()
int df_init_introspection |
( |
const GDBusProxy * |
dproxy, |
|
|
const char * |
name, |
|
|
const char * |
interface |
|
) |
| |
Gets introspection of object pointed by dproxy (in XML format), then parses XML data and fills GDBusNodeInfo representing the data. At the end looks up information about an interface and initializes module global pointers on first method and its first argument.
- Parameters
-
dproxy | Pointer on D-Bus interface proxy |
name | D-Bus name |
interface | D-Bus interface |
- Returns
- 0 on success, -1 on error
§ df_method_has_out_args()
int df_method_has_out_args |
( |
void |
| ) |
|
- Returns
- Returns 1 if method has out arguments (return value), 0 otherwise.
§ df_next_method()
void df_next_method |
( |
void |
| ) |
|
Function is used as "iterator" for interface methods.
§ df_next_method_arg()
void df_next_method_arg |
( |
void |
| ) |
|
Function is used as "iterator" for interface current (df_get_method()) method arguments.
§ df_unref_introspection()
void df_unref_introspection |
( |
void |
| ) |
|
Call when done with this module functions (only after df_init_introspection() function call). It frees memory used by introspection_data (GDBusNodeInfo *) which is used to look up information about the interface (methods, their arguments, etc.).
Call when done with this module functions (only after df_init_introspection() function call). It frees memory used by df_introspection_data (GDBusNodeInfo *) which is used to look up information about the interface (methods, their arguments, etc.).