"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "storage.h" between
memcached-1.6.8.tar.gz and memcached-1.6.9.tar.gz

About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.

storage.h  (memcached-1.6.8):storage.h  (memcached-1.6.9)
#ifndef STORAGE_H #ifndef STORAGE_H
#define STORAGE_H #define STORAGE_H
void storage_delete(void *e, item *it);
#define STORAGE_delete(e, it) \
do { \
storage_delete(e, it); \
} while (0)
#define STORAGE_delete(...)
// API.
void storage_stats(ADD_STAT add_stats, conn *c);
void process_extstore_stats(ADD_STAT add_stats, conn *c);
bool storage_validate_item(void *e, item *it);
int storage_get_item(conn *c, item *it, mc_resp *resp);
// callbacks for the IO queue subsystem.
void storage_submit_cb(void *ctx, void *stack);
void storage_complete_cb(void *ctx, void *stack);
void storage_finalize_cb(io_pending_t *pending);
// Thread functions.
int start_storage_write_thread(void *arg); int start_storage_write_thread(void *arg);
void storage_write_pause(void); void storage_write_pause(void);
void storage_write_resume(void); void storage_write_resume(void);
int start_storage_compact_thread(void *arg); int start_storage_compact_thread(void *arg);
void storage_compact_pause(void); void storage_compact_pause(void);
void storage_compact_resume(void); void storage_compact_resume(void);
// Init functions.
struct extstore_conf_file *storage_conf_parse(char *arg, unsigned int page_size) ; struct extstore_conf_file *storage_conf_parse(char *arg, unsigned int page_size) ;
void *storage_init_config(struct settings *s);
int storage_read_config(void *conf, char **subopt);
int storage_check_config(void *conf);
void *storage_init(void *conf);
// Ignore pointers and header bits from the CRC // Ignore pointers and header bits from the CRC
#define STORE_OFFSET offsetof(item, nbytes) #define STORE_OFFSET offsetof(item, nbytes)
#endif #endif
 End of changes. 3 change blocks. 
0 lines changed or deleted 28 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)