summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-25 20:02:24 +0200
committerVolker Lendecke <vl@samba.org>2009-05-01 12:30:59 +0200
commit8cf75770cf2b3905ca98c84b21fadca8e05f08b7 (patch)
treeafff0cbfb9967fed96ded881754adacf0d54363c /source3/include
parentdb2cc8c9f2ec6f98884b1eb7738148cecdf6fd45 (diff)
downloadsamba-8cf75770cf2b3905ca98c84b21fadca8e05f08b7.tar.gz
samba-8cf75770cf2b3905ca98c84b21fadca8e05f08b7.tar.bz2
samba-8cf75770cf2b3905ca98c84b21fadca8e05f08b7.zip
Add fncall_send/recv
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h8
-rw-r--r--source3/include/smb.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0d52e00760..9aa9265974 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -7098,4 +7098,12 @@ void *avahi_start_register(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
/* Misc protos */
+struct fncall_context *fncall_context_init(TALLOC_CTX *mem_ctx,
+ int max_threads);
+struct tevent_req *fncall_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
+ struct fncall_context *ctx,
+ void (*fn)(void *private_data),
+ void *private_data);
+int fncall_recv(struct tevent_req *req, int *perr);
+
#endif /* _PROTO_H_ */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 01e6ddf64c..5a381b385f 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -365,6 +365,7 @@ struct named_mutex;
struct pcap_cache;
struct wb_context;
struct rpc_cli_smbd_conn;
+struct fncall_context;
struct vfs_fsp_data {
struct vfs_fsp_data *next;