summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2009-01-31Add an async np_read wrapperVolker Lendecke1-0/+5
2009-01-31Add an async np_write wrapperVolker Lendecke1-0/+4
2009-01-31make send_file_readbraw staticVolker Lendecke1-6/+0
2009-01-31Remove the global variable "chain_size"Volker Lendecke1-0/+2
2009-01-31Make is_andx_req non-staticVolker Lendecke1-0/+1
2009-01-30Add the "SMBD" rpc transportVolker Lendecke1-0/+34
The idea of this is that all client utils like smbpasswd and also for example "net join" do not access our internal databases like passdb and secrets.tdb directly anymore but pass everything throught the well-established RPC interfaces. The way you use this is the following: With rpc_cli_smbd_conn_init() or its async variant you initialize a "struct rpc_cli_smbd_conn". This structure is the link to a freshly forked smbd, ready to be used for RPC services. You should only ever have one such structure in your program. More don't hurt, but are plainly unnecessary. If you want to use the SAMR pipe to change a passwort, you connect to that pipe with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your locally forked smbd will connect to passdb for you. GD, this might make the distinction between the _l and _r calls in libnetapi mostly unnecessary. At least it is intended to do so... :-)
2009-01-30Make rpc_transport_np_init asyncVolker Lendecke1-0/+7
2009-01-30Add async cli_ntcreateVolker Lendecke1-0/+22
2009-01-30Make cli_tcon_andx asyncVolker Lendecke1-2/+8
2009-01-30Make cli_session_setup_guest asyncVolker Lendecke1-0/+4
2009-01-29s3 build: Fix "shadows global declaration warning"Tim Prouty1-1/+1
2009-01-29s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operationTim Prouty1-1/+1
This allows module implementors to customize what allocation size is returned to the client.
2009-01-30s3:proto.h: remove duplicate prototypes.Michael Adam1-2/+0
Michael
2009-01-29Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke1-1/+2
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.
2009-01-29cli_ucs2Volker Lendecke1-0/+1
2009-01-27s3:smbd: make mdns registration event driven.Stefan Metzmacher1-8/+3
metze
2009-01-27s3:smbd: make kernel oplocks event drivenStefan Metzmacher1-3/+1
And use signal events for Linux oplocks. metze
2009-01-27s3:smbd: remove pointless respond_to_all_remaining_local_messages() functionStefan Metzmacher1-1/+0
This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze
2009-01-27s3:smbd: convert aio to use tevent_signalStefan Metzmacher1-17/+1
metze
2009-01-27s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLDStefan Metzmacher1-0/+2
metze
2009-01-27s3:namecache: remove unused namecache_shutdown() functionStefan Metzmacher1-1/+0
metze
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke1-2/+2
2009-01-23Extend NTIMES to allow setting create_timetodd stecher1-2/+3
1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
2009-01-22Add the socket rpc client transportVolker Lendecke1-0/+5
2009-01-22Add the named pipe rpc client transportVolker Lendecke1-1/+6
2009-01-22s3: Fix warningTim Prouty1-1/+1
2009-01-22s3:printing: make some functions static and use tevent functionsStefan Metzmacher1-2/+0
metze
2009-01-22s3:smbd: restructure kernel oplocks codeStefan Metzmacher1-4/+4
This converts the irix oplocks code to use a fd event and removes the last special case for file descriptors for the main sys_select(). metze
2009-01-22cli_get_pipe_name_from_iface does not need the cli_stateVolker Lendecke1-1/+0
I leave the TALLOC_CTX in, we might have to allocate it in the future
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-1/+1
2009-01-21Allow calling DCE/RPC server implementations directly usingJelmer Vernooij1-0/+4
rpc_pipe_client.
2009-01-20"userdom_struct" does not need "full_name" anymore -- unusedVolker Lendecke1-1/+1
2009-01-20Remove some unused codeVolker Lendecke1-1/+0
2009-01-20Remove some smb fsp knowledge from rpc_server/Volker Lendecke1-5/+9
np_open/read/write don't have to know about files_struct
2009-01-18Make rpc_pipe_bind asyncVolker Lendecke1-0/+5
2009-01-18Add async rpc_api_pipe_reqVolker Lendecke1-0/+7
2009-01-18Move initialization of the reply prs_struct to rpc_api_pipeVolker Lendecke1-1/+1
2009-01-16Correctly calculate the offset for read&xVolker Lendecke1-0/+1
2009-01-14Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison1-2/+4
the connections list and authentication structures to worry about. Jeremy
2009-01-14Remove another global from clidfs that is only used in client.c.Jeremy Allison1-1/+2
Jeremy.
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-0/+3
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-11Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke1-6/+0
2009-01-09Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke1-0/+4
2009-01-09Add derpc_transport_string_by_transport(), apply some constVolker Lendecke1-1/+2
2009-01-09s3: Add delete_all_streams to proto.hTim Prouty1-0/+1
2009-01-09s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner1-9/+0
Guenther
2009-01-09s3-svcctl: remove old marshalling of svcctl_EnumServicesStatusW.Günther Deschner1-10/+0
Guenther
2009-01-08Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke1-1/+1
2009-01-08s3:smbd: make mangle_fns constStefan Metzmacher1-3/+3
metze
2009-01-08s3-svcctl: remove old hand marshalling of svcctl_QueryServiceConfig2W.Günther Deschner1-8/+0
Guenther