~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to libgearman-1.0/client.h

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
559
559
 * gearman_client_add_task() for details.
560
560
 */
561
561
GEARMAN_API
562
 
gearman_task_st *
563
 
gearman_client_add_task_high_background(gearman_client_st *client,
564
 
                                        gearman_task_st *task,
565
 
                                        void *context,
566
 
                                        const char *function_name,
567
 
                                        const char *unique,
568
 
                                        const void *workload,
569
 
                                        size_t workload_size,
570
 
                                        gearman_return_t *ret_ptr);
 
562
gearman_task_st *gearman_client_add_task_high_background(gearman_client_st *client,
 
563
                                                         gearman_task_st *task,
 
564
                                                         void *context,
 
565
                                                         const char *function_name,
 
566
                                                         const char *unique,
 
567
                                                         const void *workload,
 
568
                                                         size_t workload_size,
 
569
                                                         gearman_return_t *ret_ptr);
571
570
 
572
571
/**
573
572
 * Add a low priority background task to be run in parallel. See
574
573
 * gearman_client_add_task() for details.
575
574
 */
576
575
GEARMAN_API
577
 
gearman_task_st *
578
 
gearman_client_add_task_low_background(gearman_client_st *client,
579
 
                                       gearman_task_st *task,
580
 
                                       void *context,
581
 
                                       const char *function_name,
582
 
                                       const char *unique,
583
 
                                       const void *workload,
584
 
                                       size_t workload_size,
585
 
                                       gearman_return_t *ret_ptr);
 
576
gearman_task_st *gearman_client_add_task_low_background(gearman_client_st *client,
 
577
                                                        gearman_task_st *task,
 
578
                                                        void *context,
 
579
                                                        const char *function_name,
 
580
                                                        const char *unique,
 
581
                                                        const void *workload,
 
582
                                                        size_t workload_size,
 
583
                                                        gearman_return_t *ret_ptr);
586
584
 
587
585
/**
588
586
 * Add task to get the status for a backgound task in parallel.