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);
static int handle_mount(nfs41_upcall *upcall)
static int marshall_mount(unsigned char *buffer, uint32_t *length, nfs41_upcall *upcall)
ACPI_SIZE strlen(const char *String)
GLsizei const GLchar ** path
static void cancel_mount(IN nfs41_upcall *upcall)
#define INVALID_HANDLE_VALUE
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)
void eprintf(LPCSTR format,...)
#define ERROR_BAD_NETPATH
#define NFS41_MAX_PATH_LEN
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
static int handle_unmount(nfs41_upcall *upcall)
GLenum GLuint GLenum GLsizei length
int get_name(unsigned char **pos, uint32_t *remaining, const char **out_name)
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_root_ref(IN nfs41_root *root)
int nfs41_server_resolve(IN const char *hostname, IN unsigned short port, OUT multi_addr4 *addrs)
static int parse_unmount(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall)
int safe_write(unsigned char **pos, uint32_t *remaining, void *src, uint32_t src_len)
const nfs41_upcall_op nfs41_op_unmount
const nfs41_upcall_op nfs41_op_mount
const char * secflavorop2name(DWORD sec_flavor)
STRSAFEAPI StringCchCopyA(STRSAFE_LPSTR pszDest, size_t cchDest, STRSAFE_LPCSTR pszSrc)
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)
nfs41_updowncall_list upcall
VOID WINAPI InitializeSRWLock(PSRWLOCK Lock)
int safe_read(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len)
void nfs41_root_deref(IN nfs41_root *root)
void nfs41_superblock_fs_attributes(IN const nfs41_superblock *superblock, OUT struct _FILE_FS_ATTRIBUTE_INFORMATION *FsAttrs)
static SERVICE_STATUS status
#define ERROR_FILENAME_EXCED_RANGE
static int parse_mount(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall)