20 Commits

Author SHA1 Message Date
Wolf3s 893230d5bc Merge branch 'master' into Cleanups 2024-04-29 20:48:28 -03:00
Wolfywolfy c8cb8fff85 Add smb2_ in some private smb2 functions for portability. 2024-03-30 21:37:56 -03:00
Wolf3s a7743ac8d5 Merge branch 'master' into fix-warnings 2024-01-10 09:16:41 -03:00
Wolfywolfy 8d41ddde01 Support sys/time.h, sys/fcntl.h and sys/unistd.h for ps2(and others) 2023-12-23 12:55:04 -03:00
Amir Abbas Mousavian 1f842fe12c Fixed "Implicit conversion loses integer precision" warning 2023-12-01 15:15:30 +03:30
Wolfywolfy 3644a5a56d Add gnu89 support 2023-11-19 08:39:48 -03:00
polluks 29591dcb54 Fixed many typos 2023-01-26 10:17:32 +01:00
delins bd2d166a7f change ucs2 to utf16 2021-07-31 00:00:22 +02:00
Ronnie Sahlberg 896696d998 ps2: add support for PS2 IOP platform
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-02-08 09:21:19 +10:00
Ronnie Sahlberg c98295add2 unicode: fix byteswapping bug in ucs2_to_utf8
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-08-14 07:09:27 +10:00
Ronnie Sahlberg 8fec873b37 unicode: fix byteswapping bug in utf8_to_ucs2
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-08-14 06:44:38 +10:00
Ronnie Sahlberg ce9dfb8d9b Add support for readlink()
Report Windows Reparse points as links
and implement readlink() to decode reparse points of the type
MS-FSCC: 2.1.2.4 Symbolic Link Reparse Data Buffer

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2019-07-15 08:17:03 +10:00
Ronnie Sahlberg f79991e61b Fix the posix build
Fix minor breakage after the win32 merge

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2018-03-20 17:49:29 +10:00
Anton Fedchin b94dc912c8 fix build with msvc toolset 2018-03-19 17:27:03 +03:00
Anton Fedchin d150333571 fix usc2 to utf8 conversion 2018-03-19 17:27:02 +03:00
Ronnie Sahlberg 27a8e67a3e Convert a lot of buffer pointers from char * to uint8_t *
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-04-26 18:03:04 -07:00
Ronnie Sahlberg 02e0c35669 Add smb2_closedir()
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-01-21 07:29:36 -08:00
Ronnie Sahlberg 498b9e996c opendir() support
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-01-20 19:50:07 -08:00
Ronnie Sahlberg 4c22e57f78 After converting utf8 make sure we store the ucs2 in little endian
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-01-18 08:27:30 -08:00
Ronnie Sahlberg a2c138691b Add tree connect and do a major cleanup
Move all the session establish code from the example into a
new smb2_connect_share_async() flow in libsmb2.c

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2017-01-18 07:51:24 -08:00