MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / StringToGuid

Function StringToGuid

src/common/os/guid.h:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75inline bool StringToGuid(Guid* guid, const char* buffer)
76{
77 const auto result = sscanf(buffer, GUID_FORMAT,
78 &guid->Data1, &guid->Data2, &guid->Data3,
79 &guid->Data4[0], &guid->Data4[1], &guid->Data4[2], &guid->Data4[3],
80 &guid->Data4[4], &guid->Data4[5], &guid->Data4[6], &guid->Data4[7]);
81
82 return (result == GUID_FORMAT_ARGS);
83}
84
85} // namespace
86

Callers 3

backup_databaseMethod · 0.85
nbackupFunction · 0.85
enumerateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected