diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-01-23 23:23:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:08 -0500 |
commit | 63ba8383e196bc41d18c7b9a8a80578eb9430188 (patch) | |
tree | 659a5ee286a42850716c3d3a65c09b0c5a324f13 /source4/libcli/composite/composite.h | |
parent | d25c1bd0012e948fa7e1590ecd150d6fc1156869 (diff) | |
download | samba-63ba8383e196bc41d18c7b9a8a80578eb9430188.tar.gz samba-63ba8383e196bc41d18c7b9a8a80578eb9430188.tar.bz2 samba-63ba8383e196bc41d18c7b9a8a80578eb9430188.zip |
r4949: First version of a fetchfile composite function which connects to a server and
loads a file. Needs a smb url parsing wrapper.
Volker
(This used to be commit fa435bf7c878d4a5beb6afb2ed6e2990abc11e82)
Diffstat (limited to 'source4/libcli/composite/composite.h')
-rw-r--r-- | source4/libcli/composite/composite.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/libcli/composite/composite.h b/source4/libcli/composite/composite.h index 35d6d94878..cb8cee779c 100644 --- a/source4/libcli/composite/composite.h +++ b/source4/libcli/composite/composite.h @@ -65,6 +65,25 @@ struct smb_composite_loadfile { } out; }; +struct smb_composite_fetchfile { + struct { + const char *dest_host; + int port; + const char *called_name; + const char *calling_name; + const char *service; + const char *service_type; + const char *user; + const char *domain; + const char *password; + const char *filename; + } in; + struct { + uint8_t *data; + uint32_t size; + } out; +}; + /* a composite open/write(s)/close request that saves a whole file from memory. Used as a demo of the composite system. |