## pk-control-sync pk-control-sync |

## Synopsis

    gboolean            pk_control_get_properties           (PkControl *control,
                                                             GCancellable *cancellable,
                                                             GError **error);
    gchar **            pk_control_get_transaction_list     (PkControl *control,
                                                             GCancellable *cancellable,
                                                             GError **error);

## Description

## Details

### pk_control_get_properties ()

    gboolean            pk_control_get_properties           (PkControl *control,
                                                             GCancellable *cancellable,
                                                             GError **error);

Gets the properties the daemon supports. Warning: this function is synchronous, and may block. Do not use it in GUI applications.

`control` : | a valid PkControl instance
`cancellable` : | a GCancellable or `NULL`
`error` : | A GError or `NULL`
Returns : | `TRUE` if the properties were set correctly

### pk_control_get_transaction_list ()

    gchar **            pk_control_get_transaction_list     (PkControl *control,
                                                             GCancellable *cancellable,
                                                             GError **error);

Gets the transaction list in progress. Warning: this function is synchronous, and may block. Do not use it in GUI applications.

`control` : | a valid PkControl instance
`cancellable` : | a GCancellable or `NULL`
`error` : | A GError or `NULL`
Returns : | The list of transaction id's, or `NULL`, free with `g_strfreev()`