| Evolution Connector for Microsoft Exchange Programmer’s Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
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);
|
|
|
|
|
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.)
|
an E2kOperation, or NULL
|
|
the callback to invoke if op is cancelled
|
|
object that owns the operation |
|
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.)
|
an E2kOperation, or NULL
|