00001 /* 00002 * Universally Unique IDentifier (UUID) 00003 * Copyright (c) 2008, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef UUID_H 00016 #define UUID_H 00017 00018 #define UUID_LEN 16 00019 00020 int uuid_str2bin(const char *str, u8 *bin); 00021 int uuid_bin2str(const u8 *bin, char *str, size_t max_len); 00022 int is_nil_uuid(const u8 *uuid); 00023 00024 #endif /* UUID_H */