mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix documentation of windows_guid_is_valid
This commit is contained in:
parent
ebe2bbe76c
commit
ad6ddafd05
1 changed files with 2 additions and 4 deletions
|
|
@ -266,11 +266,9 @@ static int windows_ps(const char* ps_command, char* out, size_t out_size)
|
|||
}
|
||||
|
||||
/**
|
||||
* Validates a GUID string of the form:
|
||||
* xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
* Does NOT accept braced forms like {xxxxxxxx-...}.
|
||||
* Validates a GUID string of the form: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
|
||||
*
|
||||
* Returns true if valid, false otherwise.
|
||||
* Returns 0 if valid, -1 otherwise.
|
||||
*/
|
||||
int windows_guid_is_valid(const char* guid, int len)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue