49 dprintf(1,
"parsing NFS14_MOUNT: srv_name=%s root=%s sec_flavor=%s "
50 "rsize=%d wsize=%d\n",
args->hostname,
args->path,
118 args->lease_time =
client->session->lease_time;
132 dprintf(2,
"NFS41_MOUNT: writing pointer to nfs41_root %p, version %d, "
162 dprintf(1,
"parsing NFS41_UNMOUNT: root=%p\n",
upcall->root_ref);
ACPI_SIZE strlen(const char *String)
int nfs41_lookup(IN nfs41_root *root, IN nfs41_session *session, IN OUT nfs41_abs_path *path_inout, OUT OPTIONAL nfs41_path_fh *parent_out, OUT OPTIONAL nfs41_path_fh *target_out, OUT OPTIONAL nfs41_file_info *info_out, OUT nfs41_session **session_out)
int safe_write(unsigned char **pos, uint32_t *remaining, void *src, uint32_t src_len)
int safe_read(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len)
int get_name(unsigned char **pos, uint32_t *remaining, const char **out_name)
const char * secflavorop2name(DWORD sec_flavor)
void eprintf(LPCSTR format,...)
#define INVALID_HANDLE_VALUE
VOID WINAPI InitializeSRWLock(PSRWLOCK Lock)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
GLuint GLsizei GLsizei * length
static void cancel_mount(IN nfs41_upcall *upcall)
static int handle_mount(nfs41_upcall *upcall)
const nfs41_upcall_op nfs41_op_mount
static int parse_unmount(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall)
static int handle_unmount(nfs41_upcall *upcall)
static int marshall_mount(unsigned char *buffer, uint32_t *length, nfs41_upcall *upcall)
static int parse_mount(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall)
const nfs41_upcall_op nfs41_op_unmount
void nfs41_root_ref(IN nfs41_root *root)
int nfs41_root_create(IN const char *name, IN uint32_t sec_flavor, IN uint32_t wsize, IN uint32_t rsize, OUT nfs41_root **root_out)
void nfs41_root_deref(IN nfs41_root *root)
int nfs41_root_mount_addrs(IN nfs41_root *root, IN const multi_addr4 *addrs, IN bool_t is_data, IN OPTIONAL uint32_t lease_time, OUT nfs41_client **client_out)
void nfs41_superblock_fs_attributes(IN const nfs41_superblock *superblock, OUT struct _FILE_FS_ATTRIBUTE_INFORMATION *FsAttrs)
int nfs41_server_resolve(IN const char *hostname, IN unsigned short port, OUT multi_addr4 *addrs)
#define NFS41_MAX_PATH_LEN
nfs41_updowncall_list upcall
STRSAFEAPI StringCchCopyA(STRSAFE_LPSTR pszDest, size_t cchDest, STRSAFE_LPCSTR pszSrc)
#define ERROR_BAD_NETPATH
#define ERROR_FILENAME_EXCED_RANGE