constants.h   constants.h 
skipping to change at line 134 skipping to change at line 134
GEARMAN_WORKER_NON_BLOCKING= (1 << 1), GEARMAN_WORKER_NON_BLOCKING= (1 << 1),
GEARMAN_WORKER_PACKET_INIT= (1 << 2), GEARMAN_WORKER_PACKET_INIT= (1 << 2),
GEARMAN_WORKER_GRAB_JOB_IN_USE= (1 << 3), GEARMAN_WORKER_GRAB_JOB_IN_USE= (1 << 3),
GEARMAN_WORKER_PRE_SLEEP_IN_USE= (1 << 4), GEARMAN_WORKER_PRE_SLEEP_IN_USE= (1 << 4),
GEARMAN_WORKER_WORK_JOB_IN_USE= (1 << 5), GEARMAN_WORKER_WORK_JOB_IN_USE= (1 << 5),
GEARMAN_WORKER_CHANGE= (1 << 6), GEARMAN_WORKER_CHANGE= (1 << 6),
GEARMAN_WORKER_GRAB_UNIQ= (1 << 7), GEARMAN_WORKER_GRAB_UNIQ= (1 << 7),
GEARMAN_WORKER_TIMEOUT_RETURN= (1 << 8), GEARMAN_WORKER_TIMEOUT_RETURN= (1 << 8),
GEARMAN_WORKER_GRAB_ALL= (1 << 9), GEARMAN_WORKER_GRAB_ALL= (1 << 9),
GEARMAN_WORKER_SSL= (1 << 10), GEARMAN_WORKER_SSL= (1 << 10),
GEARMAN_WORKER_MAX= (1 << 11) GEARMAN_WORKER_IDENTIFIER= (1 << 11),
GEARMAN_WORKER_MAX= (1 << 12)
} gearman_worker_options_t; } gearman_worker_options_t;
/* Types. */ /* Types. */
typedef struct gearman_task_st gearman_task_st; typedef struct gearman_task_st gearman_task_st;
typedef struct gearman_client_st gearman_client_st; typedef struct gearman_client_st gearman_client_st;
typedef struct gearman_job_st gearman_job_st; typedef struct gearman_job_st gearman_job_st;
typedef struct gearman_worker_st gearman_worker_st; typedef struct gearman_worker_st gearman_worker_st;
typedef struct gearman_allocator_t gearman_allocator_t; typedef struct gearman_allocator_t gearman_allocator_t;
typedef struct gearman_task_attr_t gearman_task_attr_t; typedef struct gearman_task_attr_t gearman_task_attr_t;
typedef struct gearman_result_st gearman_result_st; typedef struct gearman_result_st gearman_result_st;
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added


 job.h   job.h 
skipping to change at line 46 skipping to change at line 46
* *
*/ */
/** /**
* @file * @file
* @brief Job Declarations * @brief Job Declarations
*/ */
#pragma once #pragma once
#include <libgearman-1.0/interface/job.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/** /**
* @addtogroup gearman_job Job Declarations * @addtogroup gearman_job Job Declarations
* @ingroup gearman_worker * @ingroup gearman_worker
* *
* The job functions are used to manage jobs assigned to workers. It is mos t * The job functions are used to manage jobs assigned to workers. It is mos t
* commonly used with the worker interface. * commonly used with the worker interface.
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added


 limits.h   limits.h 
skipping to change at line 52 skipping to change at line 52
#define GEARMAN_DEFAULT_SOCKET_RECV_SIZE 32768 #define GEARMAN_DEFAULT_SOCKET_RECV_SIZE 32768
#define GEARMAN_DEFAULT_SOCKET_SEND_SIZE 32768 #define GEARMAN_DEFAULT_SOCKET_SEND_SIZE 32768
#define GEARMAN_DEFAULT_SOCKET_TIMEOUT 10 #define GEARMAN_DEFAULT_SOCKET_TIMEOUT 10
#define GEARMAN_DEFAULT_CONNECT_TIMEOUT 4000 #define GEARMAN_DEFAULT_CONNECT_TIMEOUT 4000
#define GEARMAN_DEFAULT_TCP_HOST "localhost" #define GEARMAN_DEFAULT_TCP_HOST "localhost"
#define GEARMAN_FUNCTION_MAX_SIZE 512 #define GEARMAN_FUNCTION_MAX_SIZE 512
#define GEARMAN_JOB_HANDLE_SIZE 64 #define GEARMAN_JOB_HANDLE_SIZE 64
#define GEARMAN_MAXIMUM_INTEGER_DISPLAY_LENGTH 20 #define GEARMAN_MAXIMUM_INTEGER_DISPLAY_LENGTH 20
#define GEARMAN_MAX_COMMAND_ARGS 8 #define GEARMAN_MAX_COMMAND_ARGS 8
#define GEARMAN_MAX_ECHO_SIZE (UINT32_MAX -GEARMAN_ARGS_BUFFER_SIZE) #define GEARMAN_MAX_ECHO_SIZE (UINT32_MAX -GEARMAN_ARGS_BUFFER_SIZE)
#define GEARMAN_MAX_OPTION_SIZE (UINT32_MAX -GEARMAN_ARGS_BUFFER_SIZE)
#define GEARMAN_MAX_ERROR_SIZE 2048 #define GEARMAN_MAX_ERROR_SIZE 2048
#define GEARMAN_MAX_IDENTIFIER 254 #define GEARMAN_MAX_IDENTIFIER 254
#define GEARMAN_MAX_UNIQUE_SIZE 64 #define GEARMAN_MAX_UNIQUE_SIZE 64
#define GEARMAN_MAX_UUID_SIZE 36 #define GEARMAN_MAX_UUID_SIZE 36
#define GEARMAN_OPTION_SIZE 64 #define GEARMAN_OPTION_SIZE 64
#define GEARMAN_PACKET_HEADER_SIZE 12 #define GEARMAN_PACKET_HEADER_SIZE 12
#define GEARMAN_RECV_BUFFER_SIZE 8192 #define GEARMAN_RECV_BUFFER_SIZE 8192
#define GEARMAN_SEND_BUFFER_SIZE 8192 #define GEARMAN_SEND_BUFFER_SIZE 8192
#define GEARMAN_UNIQUE_SIZE GEARMAN_MAX_UNIQUE_SIZE #define GEARMAN_UNIQUE_SIZE GEARMAN_MAX_UNIQUE_SIZE
#define GEARMAN_WORKER_WAIT_TIMEOUT (10 * 1000) /* Milliseconds */ #define GEARMAN_WORKER_WAIT_TIMEOUT (10 * 1000) /* Milliseconds */
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 return.h   return.h 
skipping to change at line 98 skipping to change at line 98
GEARMAN_QUEUE_ERROR, // DEPRECATED, SERVER ONLY GEARMAN_QUEUE_ERROR, // DEPRECATED, SERVER ONLY
GEARMAN_FLUSH_DATA, // Internal state, should never be seen by either cli ent or worker. GEARMAN_FLUSH_DATA, // Internal state, should never be seen by either cli ent or worker.
GEARMAN_SEND_BUFFER_TOO_SMALL, GEARMAN_SEND_BUFFER_TOO_SMALL,
GEARMAN_IGNORE_PACKET, // Internal only GEARMAN_IGNORE_PACKET, // Internal only
GEARMAN_UNKNOWN_OPTION, // DEPRECATED GEARMAN_UNKNOWN_OPTION, // DEPRECATED
GEARMAN_TIMEOUT, GEARMAN_TIMEOUT,
GEARMAN_ARGUMENT_TOO_LARGE, GEARMAN_ARGUMENT_TOO_LARGE,
GEARMAN_INVALID_ARGUMENT, GEARMAN_INVALID_ARGUMENT,
GEARMAN_IN_PROGRESS, // See gearman_client_job_status() GEARMAN_IN_PROGRESS, // See gearman_client_job_status()
GEARMAN_INVALID_SERVER_OPTION, // Bad server option sent to server GEARMAN_INVALID_SERVER_OPTION, // Bad server option sent to server
GEARMAN_JOB_NOT_FOUND, // Job did not exist on server
GEARMAN_MAX_RETURN, /* Always add new error code before */ GEARMAN_MAX_RETURN, /* Always add new error code before */
GEARMAN_FAIL= GEARMAN_WORK_FAIL, GEARMAN_FAIL= GEARMAN_WORK_FAIL,
GEARMAN_FATAL= GEARMAN_WORK_FAIL, GEARMAN_FATAL= GEARMAN_WORK_FAIL,
GEARMAN_ERROR= GEARMAN_WORK_ERROR GEARMAN_ERROR= GEARMAN_WORK_ERROR
}; };
static inline bool gearman_continue(enum gearman_return_t rc) static inline bool gearman_continue(enum gearman_return_t rc)
{ {
return rc == GEARMAN_IO_WAIT || rc == GEARMAN_IN_PROGRESS || rc == GEARM AN_PAUSE || rc == GEARMAN_JOB_EXISTS; return rc == GEARMAN_IO_WAIT || rc == GEARMAN_IN_PROGRESS || rc == GEARM AN_PAUSE || rc == GEARMAN_JOB_EXISTS;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 task.h   task.h 
skipping to change at line 177 skipping to change at line 177
GEARMAN_API GEARMAN_API
const char *gearman_task_strstate(const gearman_task_st *); const char *gearman_task_strstate(const gearman_task_st *);
GEARMAN_API GEARMAN_API
bool gearman_task_has_exception(const gearman_task_st* task_shell); bool gearman_task_has_exception(const gearman_task_st* task_shell);
GEARMAN_API GEARMAN_API
gearman_string_t gearman_task_exception(const gearman_task_st *); gearman_string_t gearman_task_exception(const gearman_task_st *);
/**
* Get status on whether a task is running or not.
*/
GEARMAN_API
bool gearman_task_is_finished(const gearman_task_st *task);
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added


 version.h   version.h 
skipping to change at line 40 skipping to change at line 40
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
*/ */
#pragma once #pragma once
#define LIBGEARMAN_VERSION_STRING "1.1.8" #define LIBGEARMAN_VERSION_STRING "1.1.9"
#define LIBGEARMAN_VERSION_HEX 0x01001008 #define LIBGEARMAN_VERSION_HEX 0x01001009
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/