diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-10-29 22:12:44 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-10-29 22:12:44 -0700 |
commit | 8b802191ceedd85957d2650c2d2397d9b3e85f6c (patch) | |
tree | e7e556db35ccf596fa87edeed56515f4f924340d /sesman/chansrv | |
parent | 82a8366fc067e584102374c8198d6556d5f41ffb (diff) | |
download | xrdp-proprietary-8b802191ceedd85957d2650c2d2397d9b3e85f6c.tar.gz xrdp-proprietary-8b802191ceedd85957d2650c2d2397d9b3e85f6c.zip |
chansrv: added define for fuse
Diffstat (limited to 'sesman/chansrv')
-rw-r--r-- | sesman/chansrv/chansrv_fuse.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c index dc3e1637..4901018d 100644 --- a/sesman/chansrv/chansrv_fuse.c +++ b/sesman/chansrv/chansrv_fuse.c @@ -16,6 +16,10 @@ * limitations under the License. */ +#define XRDP_USE_FUSE 1 + +#ifdef XRDP_USE_FUSE + #define FUSE_USE_VERSION 26 #define _FILE_OFFSET_BITS 64 @@ -439,3 +443,45 @@ fuse_deinit(void) } return 0; } + +#else + +#include "arch.h" + +/*****************************************************************************/ +int APP_CC +fuse_get_wait_objs(tbus *objs, int *count, int *timeout) +{ + return 0; +} + +/*****************************************************************************/ +int APP_CC +fuse_check_wait_objs(void) +{ + return 0; +} + +/*****************************************************************************/ +int APP_CC +fuse_init(void) +{ + return 0; +} + +/*****************************************************************************/ +int APP_CC +fuse_deinit(void) +{ + return 0; +} + +/*****************************************************************************/ +int APP_CC +fuse_set_dir_item(int index, char *filename, int flags, char *data, + int data_bytes, int ino) +{ + return 0; +} + +#endif |