summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv_fuse.h
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-01-22 10:27:50 -0800
committerPavel Roskin <plroskin@gmail.com>2017-01-22 22:39:10 -0800
commite35b5a47083a094dac426061e7fb936b02204026 (patch)
tree5a74b6e974783779852abad7901bf741fc307308 /sesman/chansrv/chansrv_fuse.h
parent92d9f2e37e62e1354266d599dc37d6f9fe557351 (diff)
downloadxrdp-proprietary-e35b5a47083a094dac426061e7fb936b02204026.tar.gz
xrdp-proprietary-e35b5a47083a094dac426061e7fb936b02204026.zip
Constify string arguments in xrdp-chansrv sources
Diffstat (limited to 'sesman/chansrv/chansrv_fuse.h')
-rw-r--r--sesman/chansrv/chansrv_fuse.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sesman/chansrv/chansrv_fuse.h b/sesman/chansrv/chansrv_fuse.h
index 63e4b5d1..7834898f 100644
--- a/sesman/chansrv/chansrv_fuse.h
+++ b/sesman/chansrv/chansrv_fuse.h
@@ -49,18 +49,18 @@ int xfuse_init(void);
int xfuse_deinit(void);
int xfuse_check_wait_objs(void);
int xfuse_get_wait_objs(tbus *objs, int *count, int *timeout);
-int xfuse_create_share(tui32 share_id, char *dirname);
+int xfuse_create_share(tui32 share_id, const char *dirname);
int xfuse_clear_clip_dir(void);
-int xfuse_file_contents_range(int stream_id, char *data, int data_bytes);
+int xfuse_file_contents_range(int stream_id, const char *data, int data_bytes);
int xfuse_file_contents_size(int stream_id, int file_size);
-int xfuse_add_clip_dir_item(char *filename, int flags, int size, int lindex);
+int xfuse_add_clip_dir_item(const char *filename, int flags, int size, int lindex);
/* functions that are invoked from devredir */
int xfuse_devredir_cb_enum_dir(void *vp, struct xrdp_inode *xinode);
void xfuse_devredir_cb_enum_dir_done(void *vp, tui32 IoStatus);
void xfuse_devredir_cb_open_file(void *vp, tui32 IoStatus, tui32 DeviceId, tui32 FileId);
-void xfuse_devredir_cb_read_file(void *vp, char *buf, size_t length);
+void xfuse_devredir_cb_read_file(void *vp, const char *buf, size_t length);
void xfuse_devredir_cb_rmdir_or_file(void *vp, tui32 IoStatus);
void xfuse_devredir_cb_rename_file(void *vp, tui32 IoStatus);
void xfuse_devredir_cb_file_close(void *vp);