mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
2b9ba992b6
Return "bool" instead of NTSTATUS, use hex_byte() instead of read_hex_bytes(). And parse directly into a struct GUID instead of the components. 99 lines less code. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Samuel Cabrero <scabrero@samba.org>
6 lines
141 B
C
6 lines
141 B
C
#include "replace.h"
|
|
|
|
bool hex_uint32(const char *in, uint32_t *out);
|
|
struct GUID;
|
|
bool parse_guid_string(const char *s, struct GUID *guid);
|