summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-06Make cli_setatr async.Jeremy Allison1-0/+127
Jeremy.
2009-05-06Make cli_setattrE async.Jeremy Allison1-24/+96
Jeremy.
2009-05-05Make cli_getatr() async.Jeremy Allison1-26/+125
Jeremy.
2009-05-05Make cli_getattrE async.Jeremy Allison1-28/+128
Jeremy.
2009-05-04Fix the async calls for the posix_unlink and posix_rmdir.Jeremy Allison1-13/+49
Jeremy.
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison1-80/+3
Jeremy.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-29/+34
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
2009-04-29Make cli_unlink async.Jeremy Allison1-26/+91
Jeremy.
2009-04-29More async calls in libsmb/clifile.cJeremy Allison1-50/+170
Jeremy.
2009-04-28Doh ! Don't need "int dummy" when we have state :-).Jeremy Allison1-1/+0
Jeremy.
2009-04-28Convert cli_rename to async.Jeremy Allison1-23/+106
Jeremy.
2009-04-28Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison1-63/+190
to async. First trans calls I've done. Jeremy.
2009-04-24find/replace. Change uintX types to uintX_t types to tidy up the code.Jeremy Allison1-38/+38
Jeremy.
2009-04-22Make dskattr async.Jeremy Allison1-38/+102
Jeremy.
2009-04-22Make cli_chkpath async.Jeremy Allison1-0/+121
Jeremy
2009-04-21s3:libsmb: always use the tevent_req_nomem() for checking allocation failuresStefan Metzmacher1-6/+6
This will also make sure we cleanup 'req' in case of an error. metze
2009-04-21Make rmdir async.Jeremy Allison1-57/+91
Jeremy.
2009-04-21Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison1-0/+110
Jeremy.
2009-04-14Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett1-4/+4
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
2009-04-06Convert cli_open to tevent_reqVolker Lendecke1-46/+102
2009-04-06Convert cli_close to tevent_reqVolker Lendecke1-20/+66
2009-04-06Convert cli_ntcreate to tevent_reqVolker Lendecke1-38/+68
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke1-3/+3
2009-01-30Add async cli_ntcreateVolker Lendecke1-0/+132
2009-01-29Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke1-8/+11
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke1-1/+1
2009-01-25Fix an error path memleakVolker Lendecke1-0/+1
2009-01-25Make smb_bytes_push_str deal with a NULL buf returning NULLVolker Lendecke1-1/+6
2008-12-19Pass "bytes_alignment" up through cli_request_sendVolker Lendecke1-2/+2
This parameter makes smb_spice_chain add padding before the bytes field
2008-12-08Simplify async programming a bit with helper routinesVolker Lendecke1-6/+5
Introduce async_req_is_error() and async_req_simple_recv()
2008-11-18libsmb: Fix up pointer passed to cli_send_trans in cli_link_internalKai Blin1-1/+1
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij1-6/+6
2008-09-09make smb_bytes_push_str publicVolker Lendecke1-1/+1
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-01Fix typoVolker Lendecke1-1/+1
(This used to be commit 544d1fd19a7e85af5f522c5b6b4b68c6beb093a6)
2008-08-28Add cli_pull_replyVolker Lendecke1-5/+15
Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server. (This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
2008-08-28Remove cli->event_ctx, pass it explicitlyVolker Lendecke1-11/+33
Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO. (This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
2008-08-28Add async open&xVolker Lendecke1-33/+117
(This used to be commit faf353edd60967efac4d5c222db14fa730866273)
2008-08-28Add async cli_closeVolker Lendecke1-13/+38
(This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
2008-08-01Fix a typoVolker Lendecke1-5/+5
(This used to be commit 37bd2815c70176046bbe0232222b9f59dfa159c4)
2008-02-26add a function to truncate a file to a specified sizeDerrell Lipman1-0/+49
(This used to be commit 7e5752812d6d9e3bcf9a545cbdcf3afe2175dbc4)
2008-02-20Fix memory leaks on error pathTim Potter1-1/+8
(This used to be commit 47dd0700b4320bf5ac9a80e71ae82d82d4554e6a)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison1-22/+22
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-08Fix C++ warningsVolker Lendecke1-9/+9
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
2007-12-05Remove arbitrary 1k limit on pathnames. Malloc them.Jeremy Allison1-181/+281
Jeremy. (This used to be commit 71770b4c1d021d829deeb53a6ea3b747fce55c84)
2007-12-01Fix some C++ warningsVolker Lendecke1-1/+1
(This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)
2007-11-29Remove pstrings from clifile.c.Jeremy Allison1-25/+36
Jeremy. (This used to be commit d5658914c2d6ec878d9a11f8a1fa57f1697362e3)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-43/+43
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-22/+22
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)