Signed-off-by: Kai Zhang <[email protected]>
---
 sheep/sheep_priv.h |    6 +++---
 sheep/store.c      |    1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/sheep/sheep_priv.h b/sheep/sheep_priv.h
index 173cd55..a54956c 100644
--- a/sheep/sheep_priv.h
+++ b/sheep/sheep_priv.h
@@ -26,6 +26,9 @@
 #include "rbtree.h"
 #include "strbuf.h"
 
+#define HEX_LEN  40
+#define NAME_LEN HEX_LEN
+
 struct client_info {
        struct connection conn;
 
@@ -160,10 +163,7 @@ struct store_driver {
        int (*update_epoch)(uint32_t epoch);
        int (*purge_obj)(void);
        /* Operations for snapshot */
-       int (*snapshot)(const struct siocb *);
        int (*cleanup)(void);
-       int (*restore)(const struct siocb *);
-       int (*get_snap_file)(struct siocb *);
 };
 
 int default_init(void);
diff --git a/sheep/store.c b/sheep/store.c
index 28e2ab7..4bcdaca 100644
--- a/sheep/store.c
+++ b/sheep/store.c
@@ -26,7 +26,6 @@
 #include "sheep_priv.h"
 #include "strbuf.h"
 #include "util.h"
-#include "farm/farm.h"
 
 char *obj_path;
 char *epoch_path;
-- 
1.7.1

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to