~mordred/libmemcached/pandora-build

« back to all changes in this revision

Viewing changes to libmemcached/sasl.h

  • Committer: Brian Aker
  • Date: 2010-04-06 19:33:06 UTC
  • Revision ID: brian@gaz-20100406193306-323622xl553w37jf
Fix issue with memcached_st structure being a different size based on
compile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
#endif /* LIBMEMCACHED_WITH_SASL_SUPPORT */
49
49
 
 
50
struct memcached_sasl_st {
 
51
#ifdef LIBMEMCACHED_WITH_SASL_SUPPORT
 
52
    const sasl_callback_t *callbacks;
 
53
#else
 
54
    const void *callbacks;
 
55
#endif
 
56
    /*
 
57
    ** Did we allocate data inside the callbacks, or did the user
 
58
    ** supply that.
 
59
    */
 
60
    bool is_allocated;
 
61
};
 
62
 
 
63
 
 
64
 
50
65
#endif /* LIBMEMCACHED_MEMCACHED_SASL_H */