X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fprotocol%2Fbinary_handler.h;h=a21165b2a23a534685bdce50ef72d45a44dca40d;hb=c2aabfa4fef8c0069f693a5522c6c23a00ae9d83;hp=7b1d0aca73f015e705bfbe98d487fc436f62ad9b;hpb=b30880274b5b866db3780148eaf9bf36e09bb1fb;p=m6w6%2Flibmemcached diff --git a/libmemcached/protocol/binary_handler.h b/libmemcached/protocol/binary_handler.h index 7b1d0aca..a21165b2 100644 --- a/libmemcached/protocol/binary_handler.h +++ b/libmemcached/protocol/binary_handler.h @@ -3,13 +3,13 @@ #define LIBMEMCACHED_PROTOCOL_BINARY_HANDLER_H LIBMEMCACHED_LOCAL -bool memcached_binary_protocol_pedantic_check_request(protocol_binary_request_header *request); +bool memcached_binary_protocol_pedantic_check_request(const protocol_binary_request_header *request); LIBMEMCACHED_LOCAL -bool memcached_binary_protocol_pedantic_check_response(protocol_binary_request_header *request, - protocol_binary_response_header *response); +bool memcached_binary_protocol_pedantic_check_response(const protocol_binary_request_header *request, + const protocol_binary_response_header *response); LIBMEMCACHED_LOCAL -enum MEMCACHED_PROTOCOL_EVENT memcached_binary_protocol_process_data(struct memcached_protocol_client_st *client, ssize_t *length, void **endptr); +memcached_protocol_event_t memcached_binary_protocol_process_data(memcached_protocol_client_st *client, ssize_t *length, void **endptr); #endif