summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clifile.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Make cli_getattrE async.Jeremy Allison2009-05-051-28/+128
| | | | Jeremy.
* Fix the async calls for the posix_unlink and posix_rmdir.Jeremy Allison2009-05-041-13/+49
| | | | Jeremy.
* Cause cli_close to return an NTSTATUS.Jeremy Allison2009-04-301-80/+3
| | | | Jeremy.
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-301-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.
* Make cli_unlink async.Jeremy Allison2009-04-291-26/+91
| | | | Jeremy.
* More async calls in libsmb/clifile.cJeremy Allison2009-04-291-50/+170
| | | | Jeremy.
* Doh ! Don't need "int dummy" when we have state :-).Jeremy Allison2009-04-281-1/+0
| | | | Jeremy.
* Convert cli_rename to async.Jeremy Allison2009-04-281-23/+106
| | | | Jeremy.
* Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison2009-04-281-63/+190
| | | | | to async. First trans calls I've done. Jeremy.
* find/replace. Change uintX types to uintX_t types to tidy up the code.Jeremy Allison2009-04-241-38/+38
| | | | Jeremy.
* Make dskattr async.Jeremy Allison2009-04-221-38/+102
| | | | Jeremy.
* Make cli_chkpath async.Jeremy Allison2009-04-221-0/+121
| | | | Jeremy
* s3:libsmb: always use the tevent_req_nomem() for checking allocation failuresStefan Metzmacher2009-04-211-6/+6
| | | | | | This will also make sure we cleanup 'req' in case of an error. metze
* Make rmdir async.Jeremy Allison2009-04-211-57/+91
| | | | Jeremy.
* Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison2009-04-211-0/+110
| | | | Jeremy.
* Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett2009-04-141-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
* Convert cli_open to tevent_reqVolker Lendecke2009-04-061-46/+102
|
* Convert cli_close to tevent_reqVolker Lendecke2009-04-061-20/+66
|
* Convert cli_ntcreate to tevent_reqVolker Lendecke2009-04-061-38/+68
|
* Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke2009-02-011-3/+3
|
* Add async cli_ntcreateVolker Lendecke2009-01-301-0/+132
|
* Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke2009-01-291-8/+11
| | | | | The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.
* Decouple clistr_pull from struct cli_state->inbufVolker Lendecke2009-01-261-1/+1
|
* Fix an error path memleakVolker Lendecke2009-01-251-0/+1
|
* Make smb_bytes_push_str deal with a NULL buf returning NULLVolker Lendecke2009-01-251-1/+6
|
* Pass "bytes_alignment" up through cli_request_sendVolker Lendecke2008-12-191-2/+2
| | | | This parameter makes smb_spice_chain add padding before the bytes field
* Simplify async programming a bit with helper routinesVolker Lendecke2008-12-081-6/+5
| | | | Introduce async_req_is_error() and async_req_simple_recv()
* libsmb: Fix up pointer passed to cli_send_trans in cli_link_internalKai Blin2008-11-181-1/+1
|
* Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij2008-10-141-6/+6
|
* make smb_bytes_push_str publicVolker Lendecke2008-09-091-1/+1
| | | | (This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
* Fix typoVolker Lendecke2008-09-011-1/+1
| | | | (This used to be commit 544d1fd19a7e85af5f522c5b6b4b68c6beb093a6)
* Add cli_pull_replyVolker Lendecke2008-08-281-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)
* Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-281-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)
* Add async open&xVolker Lendecke2008-08-281-33/+117
| | | | (This used to be commit faf353edd60967efac4d5c222db14fa730866273)
* Add async cli_closeVolker Lendecke2008-08-281-13/+38
| | | | (This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
* Fix a typoVolker Lendecke2008-08-011-5/+5
| | | | (This used to be commit 37bd2815c70176046bbe0232222b9f59dfa159c4)
* add a function to truncate a file to a specified sizeDerrell Lipman2008-02-261-0/+49
| | | | (This used to be commit 7e5752812d6d9e3bcf9a545cbdcf3afe2175dbc4)
* Fix memory leaks on error pathTim Potter2008-02-201-1/+8
| | | | (This used to be commit 47dd0700b4320bf5ac9a80e71ae82d82d4554e6a)
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-22/+22
| | | | | | negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
* Fix C++ warningsVolker Lendecke2007-12-081-9/+9
| | | | (This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
* Remove arbitrary 1k limit on pathnames. Malloc them.Jeremy Allison2007-12-051-181/+281
| | | | | Jeremy. (This used to be commit 71770b4c1d021d829deeb53a6ea3b747fce55c84)
* Fix some C++ warningsVolker Lendecke2007-12-011-1/+1
| | | | (This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)
* Remove pstrings from clifile.c.Jeremy Allison2007-11-291-25/+36
| | | | | Jeremy. (This used to be commit d5658914c2d6ec878d9a11f8a1fa57f1697362e3)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-22/+22
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23347: Fix Coverity 363. Dead code elimination.Jeremy Allison2007-10-101-7/+3
| | | | | Jeremy. (This used to be commit 4524ee2dbcd5c1c66085032de67c6d083f91cb8a)
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-10-101-1/+1
| | | | | replace all data_blob(NULL, 0) calls. (This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
* r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-10-101-3/+7
| | | | | Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)