}
/**
- * camel_operation_cancel_fd:
- * @operation: a #CamelOperation
- *
- * Retrieve a file descriptor that can be waited on (select, or poll)
- * for read, to asynchronously detect cancellation.
- *
- * Returns: The fd, or -1 if cancellation has not been registered
- * for this thread.
- **/
-gint
-camel_operation_cancel_fd (CamelOperation *operation)
-{
- if (operation == NULL)
- return -1;
-
- return g_cancellable_get_fd (G_CANCELLABLE (operation));
-}
-
-/**
* camel_operation_push_message:
* @cancellable: a #GCancellable or %NULL
* @format: a standard printf() format string
/* called internally by camel, for the current thread */
gboolean camel_operation_cancel_check (CamelOperation *operation);
-gint camel_operation_cancel_fd (CamelOperation *operation);
/* Since Camel methods pass around GCancellable pointers instead of
* CamelOperation pointers, it's more convenient to callers to take
camel_operation_cancel
camel_operation_uncancel
camel_operation_cancel_check
-camel_operation_cancel_fd
camel_operation_push_message
camel_operation_pop_message
camel_operation_progress