Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / client / fuse_ll.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- 
2 // vim: ts=8 sw=2 smarttab
3 /*
4  * Ceph - scalable distributed file system
5  *
6  * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
7  *
8  * This is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License version 2.1, as published by the Free Software 
11  * Foundation.  See file COPYING.
12  * 
13  */
14
15 #define FUSE_USE_VERSION 30
16
17 class CephFuse {
18 public:
19   CephFuse(Client *c, int fd);
20   ~CephFuse();
21   int init(int argc, const char *argv[]);
22   int start();
23   int mount();
24   int loop();
25   void finalize();
26   class Handle;
27   std::string get_mount_point() const;
28 private:
29   CephFuse::Handle *_handle;
30 };