taskrambler
0.1.8
Web server and task management solution.
|
#include <stdint.h>
#include <sys/types.h>
#include <uuid/uuid.h>
#include "class.h"
#include "commons.h"
Go to the source code of this file.
Typedefs | |
typedef char | UuidString[37] |
Functions | |
CLASS (Uuid) | |
Uuid | uuidVersion1 () |
Uuid | uuidVersion3 (const unsigned char *, size_t, Uuid) |
Uuid | uuidVersion5 (const unsigned char *, size_t, Uuid) |
void | uuidUnparse (Uuid, UuidString) |
Uuid | uuidParse (const UuidString) |
int | uuidCompare (Uuid, Uuid) |
Variables | |
Uuid | uuidZero |
ways to create uuid variant 5. For uuid of variant 1 I use the implementation delivered with the core utils. But this is wrapped in here, so that the rest of the code can use only this implementation...this additionally has the advantage that we can implement version 1 here too for systems where the coreutils implementation is not available.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file uuid.h.
CLASS | ( | Uuid | ) |
int uuidCompare | ( | Uuid | , |
Uuid | |||
) |
Definition at line 30 of file compare.c.
Referenced by controllerSignupCreate(), controllerUserCreate(), controllerUserUpdate(), and main().
Uuid uuidParse | ( | const UuidString | ) |
Definition at line 30 of file uuid/parse.c.
Referenced by applicationCtor(), controllerUserRead(), and main().
void uuidUnparse | ( | Uuid | , |
UuidString | |||
) |
Uuid uuidVersion1 | ( | ) |
Definition at line 30 of file version1.c.
Referenced by main().
Uuid uuidVersion3 | ( | const unsigned char * | , |
size_t | , | ||
Uuid | |||
) |
Definition at line 39 of file version3.c.
References _uuidFormat3or5(), and clone.
Referenced by main(), and userIndexUuid().
Uuid uuidVersion5 | ( | const unsigned char * | , |
size_t | , | ||
Uuid | |||
) |
Definition at line 39 of file version5.c.
References _uuidFormat3or5(), and clone.
Referenced by main().
Uuid uuidZero |