![]() |
![]() |
![]() |
Ximian Connector for Microsoft Exchange Programmer’s Reference Manual | ![]() |
---|---|---|---|---|
E2kOperation (private)E2kOperation (private) — private E2kOperation methods |
void (*E2kOperationCancelFunc) (E2kOperation *op, gpointer owner, gpointer data); void e2k_operation_start (E2kOperation *op, E2kOperationCancelFunc canceller, gpointer owner, gpointer data); void e2k_operation_finish (E2kOperation *op);
void (*E2kOperationCancelFunc) (E2kOperation *op, gpointer owner, gpointer data);
Passed to e2k_operation_start()
. This will be called if an
E2kOperation is cancelled.
op : |
the operation |
owner : |
the owner passed to e2k_operation_start()
|
data : |
the owner data passed to e2k_operation_start()
|
void e2k_operation_start (E2kOperation *op, E2kOperationCancelFunc canceller, gpointer owner, gpointer data);
This starts a single cancellable operation using op
. If op
has
already been cancelled, this will invoke canceller
immediately.
(If op
is NULL
, e2k_operation_start()
is a no-op.)
op : |
an E2kOperation, or NULL
|
canceller : |
the callback to invoke if op is cancelled
|
owner : |
object that owns the operation |
data : |
data to pass to canceller
|
void e2k_operation_finish (E2kOperation *op);
This finishes the current cancellable operation on op
. Attempting
to cancel op
after this point will have no effect until another
operation is started on it.
(If op
is NULL
, e2k_operation_finish()
is a no-op.)
op : |
an E2kOperation, or NULL
|