1 // netfs_ioctl.h 2 3 #ifndef NET_FS_IOCTL_H 4 #define NET_FS_IOCTL_H 5 6 // our ioctl commands 7 enum { 8 NET_FS_IOCTL_ADD_SERVER = 11000, 9 NET_FS_IOCTL_REMOVE_SERVER, 10 }; 11 12 // parameter for NET_FS_IOCTL_ADD_SERVER 13 struct netfs_ioctl_add_server { 14 char serverName[256]; 15 }; 16 17 // parameter for NET_FS_IOCTL_REMOVE_SERVER 18 struct netfs_ioctl_remove_server { 19 char serverName[256]; 20 }; 21 22 #endif // NET_FS_IOCTL_H 23