summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-04-09 19:26:34 -0700
committerJeremy Allison <jra@samba.org>2010-04-09 19:26:34 -0700
commite15939b4561b84eda283a9df233e2a3a0ed42621 (patch)
tree6475d00552b99dc4b17fc887f93c2f8210e29b1c /source3/include
parentb253385611ac4934bb46390ef519c547bba87eb3 (diff)
downloadsamba-e15939b4561b84eda283a9df233e2a3a0ed42621.tar.gz
samba-e15939b4561b84eda283a9df233e2a3a0ed42621.tar.bz2
samba-e15939b4561b84eda283a9df233e2a3a0ed42621.zip
Plumb SMB2 stubs into all the places we defer SMB1 operations.
Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h12
-rw-r--r--source3/include/smb.h3
2 files changed, 10 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5a8eeb1e25..b6bc7a2f75 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6783,11 +6783,13 @@ int srv_set_message(char *buf,
int num_words,
int num_bytes,
bool zero);
-void remove_deferred_open_smb_message(uint16 mid);
-void schedule_deferred_open_smb_message(uint16 mid);
-bool open_was_deferred(uint16 mid);
-struct pending_message_list *get_open_deferred_message(uint16 mid);
-bool push_deferred_smb_message(struct smb_request *req,
+void remove_deferred_open_message_smb(uint16_t mid);
+void schedule_deferred_open_message_smb(uint16_t mid);
+bool open_was_deferred(uint16_t mid);
+bool get_deferred_open_message_state(uint16_t mid,
+ struct timeval *p_request_time,
+ void **pp_state);
+bool push_deferred_open_message_smb(struct smb_request *req,
struct timeval request_time,
struct timeval timeout,
char *private_data, size_t priv_len);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 48ab2f2283..853ced0aa6 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1978,4 +1978,7 @@ struct child_pid {
pid_t pid;
};
+/* Used to keep track of deferred opens. */
+struct deferred_open_record;
+
#endif /* _SMB_H */