Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Universally Unique IDentifier (UUID) |
| 3 | * Copyright (c) 2008, Jouni Malinen <j@w1.fi> |
| 4 | * |
Dmitry Shmidt | c5ec7f5 | 2012-03-06 16:33:24 -0800 | [diff] [blame] | 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef UUID_H |
| 10 | #define UUID_H |
| 11 | |
| 12 | #define UUID_LEN 16 |
| 13 | |
| 14 | int uuid_str2bin(const char *str, u8 *bin); |
| 15 | int uuid_bin2str(const u8 *bin, char *str, size_t max_len); |
| 16 | int is_nil_uuid(const u8 *uuid); |
| 17 | |
| 18 | #endif /* UUID_H */ |