91 dprintf(2,
"received %d bytes upcall data: processing upcall\n",
length);
106 dprintf(2,
"time=%ld version=%d xid=%d opcode=%s session=0x%x open_state=0x%x\n",
126 if (
op &&
op->parse) {
129 eprintf(
"parsing of upcall '%s' failed with %d.\n",
147 eprintf(
"upcall '%s' missing handle function!\n",
156 #pragma warning (disable : 4706) 164 unsigned char *orig_buf =
buffer;
181 if (
op &&
op->marshall) {
193 if (
op &&
op->cancel)
const nfs41_upcall_op nfs41_op_lock
void upcall_cancel(IN nfs41_upcall *upcall)
void nfs41_open_state_deref(IN nfs41_open_state *state)
void nfs41_open_state_ref(IN nfs41_open_state *state)
const nfs41_upcall_op nfs41_op_getattr
const nfs41_upcall_op nfs41_op_volume
int upcall_parse(IN unsigned char *buffer, IN uint32_t length, OUT nfs41_upcall *upcall)
int upcall_handle(IN nfs41_upcall *upcall)
#define INVALID_HANDLE_VALUE
void eprintf(LPCSTR format,...)
const nfs41_upcall_op nfs41_op_getexattr
const nfs41_upcall_op nfs41_op_open
void upcall_cleanup(IN nfs41_upcall *upcall)
const nfs41_upcall_op nfs41_op_getacl
GLenum GLuint GLenum GLsizei length
#define NFSD_VERSION_MISMATCH
static const WCHAR version[]
const nfs41_upcall_op nfs41_op_setexattr
void nfs41_root_ref(IN nfs41_root *root)
const nfs41_upcall_op nfs41_op_unmount
const nfs41_upcall_op nfs41_op_close
const nfs41_upcall_op nfs41_op_readdir
static const uint32_t g_upcall_op_table_size
int safe_write(unsigned char **pos, uint32_t *remaining, void *src, uint32_t src_len)
const nfs41_upcall_op nfs41_op_mount
static const nfs41_upcall_op * g_upcall_op_table[]
const nfs41_upcall_op nfs41_op_symlink
void upcall_marshall(IN nfs41_upcall *upcall, OUT unsigned char *buffer, IN uint32_t length, OUT uint32_t *length_out)
const nfs41_upcall_op nfs41_op_read
const nfs41_upcall_op nfs41_op_setattr
const nfs41_upcall_op nfs41_op_unlock
const char * opcode2string(DWORD opcode)
const nfs41_upcall_op nfs41_op_setacl
nfs41_updowncall_list upcall
#define ERROR_NOT_SUPPORTED
int safe_read(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len)
void nfs41_root_deref(IN nfs41_root *root)
const nfs41_upcall_op nfs41_op_write
void print_hexbuf(int level, unsigned char *title, unsigned char *buf, int len)
static SERVICE_STATUS status