protocol.h   protocol.h 
skipping to change at line 72 skipping to change at line 72
GEARMAN_COMMAND_GET_STATUS, /* C->J: HANDLE */ GEARMAN_COMMAND_GET_STATUS, /* C->J: HANDLE */
GEARMAN_COMMAND_ECHO_REQ, /* ?->J: TEXT */ GEARMAN_COMMAND_ECHO_REQ, /* ?->J: TEXT */
GEARMAN_COMMAND_ECHO_RES, /* J->?: TEXT */ GEARMAN_COMMAND_ECHO_RES, /* J->?: TEXT */
GEARMAN_COMMAND_SUBMIT_JOB_BG, /* C->J: FUNC[0]UNIQ[0]ARGS */ GEARMAN_COMMAND_SUBMIT_JOB_BG, /* C->J: FUNC[0]UNIQ[0]ARGS */
GEARMAN_COMMAND_ERROR, /* J->?: ERRCODE[0]ERR_TEXT */ GEARMAN_COMMAND_ERROR, /* J->?: ERRCODE[0]ERR_TEXT */
GEARMAN_COMMAND_STATUS_RES, /* J->C: HANDLE[0]KNOWN[0]RUNNING[0] NUM[0]DENOM */ GEARMAN_COMMAND_STATUS_RES, /* J->C: HANDLE[0]KNOWN[0]RUNNING[0] NUM[0]DENOM */
GEARMAN_COMMAND_SUBMIT_JOB_HIGH, /* C->J: FUNC[0]UNIQ[0]ARGS */ GEARMAN_COMMAND_SUBMIT_JOB_HIGH, /* C->J: FUNC[0]UNIQ[0]ARGS */
GEARMAN_COMMAND_SET_CLIENT_ID, /* W->J: [RANDOM_STRING_NO_WHITESPAC E] */ GEARMAN_COMMAND_SET_CLIENT_ID, /* W->J: [RANDOM_STRING_NO_WHITESPAC E] */
GEARMAN_COMMAND_CAN_DO_TIMEOUT, /* W->J: FUNC[0]TIMEOUT */ GEARMAN_COMMAND_CAN_DO_TIMEOUT, /* W->J: FUNC[0]TIMEOUT */
GEARMAN_COMMAND_ALL_YOURS, GEARMAN_COMMAND_ALL_YOURS,
GEARMAN_COMMAND_WORK_EXCEPTION, GEARMAN_COMMAND_WORK_EXCEPTION, /* W->J/C: HANDLE[0] */
GEARMAN_COMMAND_OPTION_REQ, /* ?->J: TEXT */ GEARMAN_COMMAND_OPTION_REQ, /* ?->J: TEXT */
GEARMAN_COMMAND_OPTION_RES, /* J->?: TEXT */ GEARMAN_COMMAND_OPTION_RES, /* J->?: TEXT */
GEARMAN_COMMAND_WORK_DATA, GEARMAN_COMMAND_WORK_DATA,
GEARMAN_COMMAND_WORK_WARNING, GEARMAN_COMMAND_WORK_WARNING,
GEARMAN_COMMAND_GRAB_JOB_UNIQ, /* W->J: -- */ GEARMAN_COMMAND_GRAB_JOB_UNIQ, /* W->J: -- */
GEARMAN_COMMAND_JOB_ASSIGN_UNIQ, /* J->W: */ GEARMAN_COMMAND_JOB_ASSIGN_UNIQ, /* J->W: */
GEARMAN_COMMAND_SUBMIT_JOB_HIGH_BG, GEARMAN_COMMAND_SUBMIT_JOB_HIGH_BG,
GEARMAN_COMMAND_SUBMIT_JOB_LOW, GEARMAN_COMMAND_SUBMIT_JOB_LOW,
GEARMAN_COMMAND_SUBMIT_JOB_LOW_BG, GEARMAN_COMMAND_SUBMIT_JOB_LOW_BG,
GEARMAN_COMMAND_SUBMIT_JOB_SCHED, GEARMAN_COMMAND_SUBMIT_JOB_SCHED,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 string.h   string.h 
skipping to change at line 48 skipping to change at line 48
/* shallow structure we use externally */ /* shallow structure we use externally */
struct gearman_string_t { struct gearman_string_t {
const char *c_str; const char *c_str;
const size_t size; const size_t size;
}; };
#define gearman_size(X) (X).size #define gearman_size(X) (X).size
#define gearman_c_str(X) (X).c_str #define gearman_c_str(X) (X).c_str
#define gearman_string_param_printf(X) int((X).size), (X).c_str
#define gearman_string_param(X) (X).c_str, (X).size #define gearman_string_param(X) (X).c_str, (X).size
#define gearman_string_param_null NULL, 0 #define gearman_string_param_null NULL, 0
#define gearman_string_param_cstr(X) (X), ((X) ? strlen(X) : 0) #define gearman_string_param_cstr(X) (X), ((X) ? strlen(X) : 0)
#ifndef gearman_literal_param #ifndef gearman_literal_param
# ifdef __cplusplus # ifdef __cplusplus
# define gearman_literal_param(X) (X), (static_cast<size_t>((sizeof(X) - 1 ))) # define gearman_literal_param(X) (X), (static_cast<size_t>((sizeof(X) - 1 )))
# define gearman_literal_param_size(X) static_cast<size_t>(sizeof(X) - 1) # define gearman_literal_param_size(X) static_cast<size_t>(sizeof(X) - 1)
# endif # endif
#endif #endif
 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 171 skipping to change at line 171
GEARMAN_API GEARMAN_API
gearman_result_st *gearman_task_result(gearman_task_st *task); gearman_result_st *gearman_task_result(gearman_task_st *task);
GEARMAN_API GEARMAN_API
gearman_return_t gearman_task_return(const gearman_task_st *task); gearman_return_t gearman_task_return(const gearman_task_st *task);
GEARMAN_API GEARMAN_API
const char *gearman_task_strstate(const gearman_task_st *); const char *gearman_task_strstate(const gearman_task_st *);
GEARMAN_API
bool gearman_task_has_exception(const gearman_task_st* task_shell);
GEARMAN_API
gearman_string_t gearman_task_exception(const gearman_task_st *);
/** @} */ /** @} */
#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.6" #define LIBGEARMAN_VERSION_STRING "1.1.7"
#define LIBGEARMAN_VERSION_HEX 0x01001006 #define LIBGEARMAN_VERSION_HEX 0x01001007
 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/