/* Used to pass file info back to chansrv_fuse from devredir */ struct file_attr
{
tui32 mode; /* File mode. */
off_t size; /* Size of file, in bytes. */
time_t atime; /* Time of last access. */
time_t mtime; /* Time of last modification. */
};
/* Bitmask values used to identify individual elements in *structfile_attr
*/ #define TO_SET_MODE (1<<0) #define TO_SET_SIZE (1<<1) #define TO_SET_ATIME (1<<2) #define TO_SET_MTIME (1<<3) #define TO_SET_ALL (TO_SET_MODE | TO_SET_SIZE | TO_SET_ATIME | TO_SET_MTIME)
/* Private type passed into and back-from devredir */ typedefstruct xfuse_info XFUSE_INFO;
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, constchar *dirname); void xfuse_delete_share(tui32 share_id);
int xfuse_clear_clip_dir(void); int xfuse_file_contents_range(int stream_id, constchar *data, int data_bytes); int xfuse_file_contents_size(int stream_id, int file_size); int xfuse_add_clip_dir_item(constchar *filename, int flags, int size, int lindex);
/* State pointer types (opaque outside this module), used for *callbackdata
*/ struct state_dirscan; struct state_lookup; struct state_setattr; struct state_open; struct state_create; struct state_read; struct state_write; struct state_remove; struct state_rename; struct state_close; struct statvfs; // OS structure defined in <sys/statvfs.h> struct state_statfs;
/* functions that are invoked from devredir */ void xfuse_devredir_cb_enum_dir_add_entry( struct state_dirscan *fip, constchar *name, conststruct file_attr *fattr); void xfuse_devredir_cb_enum_dir_done(struct state_dirscan *fip, enum NTSTATUS IoStatus);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.