Logo Search packages:      
Sourcecode: libgphoto2 version File versions

GPContextFeedback gp_context_cancel ( GPContext context  ) 

gp_context_cancel: : a GPContext

Gives the frontend the possibility to cancel the current operation that is executed in this .

Return value: a GPContextFeedback.

Definition at line 315 of file gphoto2-context.c.

References _GPContext::cancel_func, _GPContext::cancel_func_data, and GP_CONTEXT_FEEDBACK_OK.

      if (!context)
            return (GP_CONTEXT_FEEDBACK_OK);

      if (context->cancel_func)
            return (context->cancel_func (context,
            return (GP_CONTEXT_FEEDBACK_OK);

Generated by  Doxygen 1.6.0   Back to index