X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=example%2Finterface_v1.c;h=f52abfa2c8dc0b5e3d5b23b9624c65da864bcaba;hb=3b610294ac7405eb357e494fb32244c347e2f8fe;hp=4ebc43db13574f77a340a64dc64db04cce3a3d16;hpb=2fc27acf7d450bbae9e90467f5931dece550d3fb;p=awesomized%2Flibmemcached diff --git a/example/interface_v1.c b/example/interface_v1.c index 4ebc43db..f52abfa2 100644 --- a/example/interface_v1.c +++ b/example/interface_v1.c @@ -392,8 +392,8 @@ static protocol_binary_response_status version_handler(const void *cookie, return response_handler(cookie, version, (uint32_t)strlen(version)); } -struct memcached_binary_protocol_callback_st interface_v1_impl= { - .interface_version= 1, +memcached_binary_protocol_callback_st interface_v1_impl= { + .interface_version= MEMCACHED_PROTOCOL_HANDLER_V1, .interface.v1= { .add= add_handler, .append= append_handler,