mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
make smb_bytes_push_str public
This commit is contained in:
parent
d8259cbe66
commit
d611f599b4
@ -4382,6 +4382,7 @@ int cli_nt_create_full(struct cli_state *cli, const char *fname,
|
||||
uint32 CreateDisposition, uint32 CreateOptions,
|
||||
uint8 SecuityFlags);
|
||||
int cli_nt_create(struct cli_state *cli, const char *fname, uint32 DesiredAccess);
|
||||
uint8_t *smb_bytes_push_str(uint8_t *buf, bool ucs2, const char *str);
|
||||
struct async_req *cli_open_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
|
||||
struct cli_state *cli,
|
||||
const char *fname, int flags, int share_mode);
|
||||
|
@ -781,7 +781,7 @@ int cli_nt_create(struct cli_state *cli, const char *fname, uint32 DesiredAccess
|
||||
FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN, 0x0, 0x0);
|
||||
}
|
||||
|
||||
static uint8_t *smb_bytes_push_str(uint8_t *buf, bool ucs2, const char *str)
|
||||
uint8_t *smb_bytes_push_str(uint8_t *buf, bool ucs2, const char *str)
|
||||
{
|
||||
size_t buflen = talloc_get_size(buf);
|
||||
char *converted;
|
||||
|
Loading…
Reference in New Issue
Block a user