ef7b484e5c
This Shared Folders File System library (libsffs) now contains all the file system logic originally in HGFS. The actual HGFS server code is now a stub that passes on all the work to libsffs. The libhgfs library is changed accordingly.
13 lines
419 B
C
13 lines
419 B
C
#ifndef _SFFS_TYPE_H
|
|
#define _SFFS_TYPE_H
|
|
|
|
/* Structure with global file system state. */
|
|
struct state {
|
|
int s_mounted; /* is the file system mounted? */
|
|
int s_signaled; /* have we received a SIGTERM? */
|
|
int s_read_only; /* is the file system mounted read-only? note,
|
|
* has no relation to the shared folder mode */
|
|
dev_t s_dev; /* device the file system is mounted on */
|
|
};
|
|
|
|
#endif /* _SFFS_TYPE_H */
|