* Add a json string job to the hb queue * @param h - Pointer to hb_handle_t instance that job is added to * @param json_job - json string representation of job to add */
| 1873 | * @param json_job - json string representation of job to add |
| 1874 | */ |
| 1875 | int hb_add_json( hb_handle_t * h, const char * json_job ) |
| 1876 | { |
| 1877 | hb_job_t job; |
| 1878 | |
| 1879 | job.json = json_job; |
| 1880 | return hb_add(h, &job); |
| 1881 | } |
| 1882 | |
| 1883 | |
| 1884 | /** |