X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached-1.0%2Fresult.h;h=a1f0aa961e58718a756ecda4667b95fdae352e17;hb=a397e6d2b5ceace14df3aa96fdbba65120026c31;hp=41608b5b8f89e081893f031c29d2a9f4f76adc09;hpb=fee8381b6b80398fcb6893860400ead6a598f15b;p=m6w6%2Flibmemcached diff --git a/libmemcached-1.0/result.h b/libmemcached-1.0/result.h index 41608b5b..a1f0aa96 100644 --- a/libmemcached-1.0/result.h +++ b/libmemcached-1.0/result.h @@ -2,8 +2,8 @@ * * Libmemcached library * - * Copyright (C) 2011 Data Differential, http://datadifferential.com/ - * Copyright (C) 2006-2009 Brian Aker All rights reserved. + * Copyright (C) 2011 Data Differential, http://datadifferential.com/ + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -35,23 +35,9 @@ * */ -#pragma once +#include -struct memcached_result_st { - uint32_t item_flags; - time_t item_expiration; - size_t key_length; - uint64_t item_cas; - memcached_st *root; - memcached_string_st value; - uint64_t count; - char item_key[MEMCACHED_MAX_KEY]; - struct { - bool is_allocated:1; - bool is_initialized:1; - } options; - /* Add result callback function */ -}; +#pragma once #ifdef __cplusplus extern "C" {