summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb: remove unused cli_set_username() functionStefan Metzmacher2014-10-171-1/+0
| | | | | | Change-Id: Ib432b4ff66f966de9e733e01de6de2f486c0c728 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:libsmb: Remove unused domain copy stored in cli_stateStefan Metzmacher2014-10-171-2/+0
| | | | | | Change-Id: I7333140906bb3a487205b5760396dcc00a9f49b0 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Remove unused password copy stored in cli_stateAndrew Bartlett2014-10-171-2/+1
| | | | | | Change-Id: Ia6b33a25628ae08be8a8c6baeb71ce390315cb45 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: add 'cli_state_client_guid'Stefan Metzmacher2014-09-191-0/+1
| | | | | | | This can be used by tests to use the same client guid for multiple connections. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* libsmb: Replace async cli_ntcreate by cli_createVolker Lendecke2014-06-211-13/+0
| | | | | | | | | | | Done by rename cli_ntcreate_send/recv to cli_ntcreate1_send/recv and cli_create_send/recv to cli_ntcreate_send/recv Possibly cli_create might be the better name, but I am sooo used to cli_ntcreate() that I don't really want to rename this ;-) Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libsmb: Add cli_create_send/recvVolker Lendecke2014-06-211-0/+13
| | | | | | | Async wrapper around smb1 and smb2 create Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3: libsmb : Move users of cli_dskattr to a 64-bit interface cli_disk_free().Jeremy Allison2014-06-071-0/+1
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
* s3: client : Add extra return parameter to all client open calls.Jeremy Allison2014-05-091-4/+10
| | | | | | | | | | | | | | | Add a return parameter of struct smb_create_returns *cr to cli_ntcreate() cli_ntcreate_recv() cli_nttrans_create() cli_nttrans_create_recv() Always pass in NULL for now. This fixes the create API to always fully return the data the server has given back to us on the open file to the caller. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: make cli_ulogoff_send/recv staticStefan Metzmacher2013-08-151-4/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:libsmb: make cli_tdis_send/recv staticStefan Metzmacher2013-08-151-4/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libsmbclient: Make cli_full_connection asyncVolker Lendecke2013-04-111-0/+9
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libsmbclient: Add async cli_session_setupVolker Lendecke2013-04-111-0/+8
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:libsmb: s/struct event_context/struct tevent_contextStefan Metzmacher2013-02-191-48/+48
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb: add cli_{query,set}_security_descriptor() which take sec_info flagsStefan Metzmacher2012-12-021-0/+9
| | | | | | | | In order to set and get security_descriptors it's important to specify the sec_info flags. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb: get rid of cli_ucs2Luk Claes2012-05-281-1/+0
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
* s3:libsmb: get rid of clisigning routinesLuk Claes2012-05-281-8/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_negprotLuk Claes2012-05-281-6/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_disconnectLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_time_zoneLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_security_modeLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_gss_blobLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_challengeLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_encryption_onLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_max_requestsLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_session_keyLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_capabilitiesLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_protocolLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-281-2/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_sockoptLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-061-8/+8
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* s3: Add sync cli_notifyVolker Lendecke2012-03-221-0/+4
|
* s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider2012-02-011-0/+1
| | | | | | This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
* Add cli_open() back as a synchronous wrapper function the callsJeremy Allison2011-12-031-0/+1
| | | | NtCreateX followed by openX() if NtCreateX is unsupported.
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-031-4/+4
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison2011-12-011-0/+1
| | | | | | | | This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
* s3:libsmb: add cli_tree_connect() for a generic tree connectStefan Metzmacher2011-11-241-0/+2
| | | | metze
* s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher2011-11-241-5/+0
| | | | | | smbXcli_conn/smbXcli_req metze
* s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.cStefan Metzmacher2011-10-261-1/+1
| | | | metze
* s3:include: move smb_seal.c prototypes to smb_crypt.hStefan Metzmacher2011-10-191-9/+0
| | | | metze
* s3:libsmb/smb_seal: make common_ntlm_[en|de]crypt_buffer staticStefan Metzmacher2011-10-191-5/+0
| | | | metze
* s3:libsmb: forward declaration for struct smb_trans_enc_stateStefan Metzmacher2011-09-161-0/+2
| | | | metze
* s3:libsmb: remove unused cli_*encryption* functionsStefan Metzmacher2011-09-151-3/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 17:52:00 CEST 2011 on sn-devel-104
* s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()Stefan Metzmacher2011-09-151-0/+2
| | | | metze
* s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher2011-09-151-2/+3
| | | | metze
* s3:libsmb: make use of new advanded SMB signingStefan Metzmacher2011-09-141-2/+2
| | | | metze
* s3:libsmb: add cli_state_server_time()Stefan Metzmacher2011-09-131-0/+1
| | | | metze
* s3:libsmb: add cli_state_server_time_zone()Stefan Metzmacher2011-09-131-0/+1
| | | | metze
* s3:libsmb: add cli_state_server_session_key()Stefan Metzmacher2011-09-131-0/+1
| | | | metze
* s3:libsmb: add cli_state_security_mode()Stefan Metzmacher2011-09-131-0/+1
| | | | metze