summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-05-06 10:35:55 -0400
committerRay Strode <rstrode@redhat.com>2007-05-06 10:35:55 -0400
commit56fc712c13cc998cd041eafdc96ee144c7fecce4 (patch)
treecc02fe95b60802a462cd396943c0f43ba1a6a12a /src
parent8ca8f791e7d8b25022b428d14b58d26015c62837 (diff)
add prototypes for all static functions
Diffstat (limited to 'src')
-rw-r--r--src/pop-transaction.c34
1 files changed, 31 insertions, 3 deletions
diff --git a/src/pop-transaction.c b/src/pop-transaction.c
index c8891be..65dfeae 100644
--- a/src/pop-transaction.c
+++ b/src/pop-transaction.c
@@ -90,12 +90,40 @@ static void pop_transaction_get_property (GObject *object,
guint prop_id,
GValue *value,
GParamSpec *pspec);
-static void pop_transaction_fail (PopTransaction *transaction);
+static void pop_transaction_set_status (PopTransaction *transaction,
+ PopTransactionStatus status);
+static PopAction *pop_action_new (PopActionProcessFunc action_process_func,
+ PopActionRollbackFunc action_rollback_func,
+ gpointer user_data,
+ GDestroyNotify free_func);
+static void pop_action_free (PopAction *action);
+static PopActionProcessStatus
+pop_transaction_process_subtransaction (PopTransaction *transaction,
+ PopTransaction *subtransaction);
+static PopActionRollbackStatus
+pop_transaction_rollback_subtransaction (PopTransaction *transaction,
+ PopTransaction *subtransaction);
+static gboolean pop_transaction_is_in_action (PopTransaction *transaction);
+static gboolean pop_transaction_on_fd_ready_resume (GIOChannel *channel,
+ GIOCondition condition,
+ gpointer data);
+static gboolean pop_transaction_on_timeout_resume (gpointer data);
+static guint pop_transaction_call_on_idle (PopTransaction *transaction,
+ PopTransactionIdleFunc callback);
+static gboolean pop_transaction_is_at_first_action (PopTransaction *transaction);
+static gboolean pop_transaction_rewind (PopTransaction *transaction);
+static gboolean pop_transaction_seek_forward (PopTransaction *transaction);
+static void pop_transaction_finish (PopTransaction *transaction);
+static gboolean pop_transaction_run_action_and_seek_forward (PopTransaction *transaction);
static void pop_transaction_process_on_idle (PopTransaction *transaction);
+static gboolean pop_transaction_rollback_action_and_rewind (PopTransaction *transaction);
static void pop_transaction_rollback_on_idle (PopTransaction *transaction);
-static gboolean pop_transaction_rewind (PopTransaction *transaction);
-static void pop_action_free (PopAction *action);
+static void pop_transaction_rollback_and_finish (PopTransaction *transaction);
+static void pop_transaction_fail (PopTransaction *transaction);
+static gboolean pop_transaction_is_attached (PopTransaction *transaction);
+static gboolean pop_transaction_is_empty (PopTransaction *transaction);
static gboolean pop_transaction_is_committed (PopTransaction *transaction);
+static gboolean pop_transaction_is_finished (PopTransaction *transaction);
enum
{