~ubuntu-branches/ubuntu/utopic/moonshot-gss-eap/utopic-backports

« back to all changes in this revision

Viewing changes to libeap/src/utils/uuid.h

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2014-09-16 08:38:39 UTC
  • Revision ID: package-import@ubuntu.com-20140916083839-ipqco3thb1wcwvs0
Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Universally Unique IDentifier (UUID)
 
3
 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License version 2 as
 
7
 * published by the Free Software Foundation.
 
8
 *
 
9
 * Alternatively, this software may be distributed under the terms of BSD
 
10
 * license.
 
11
 *
 
12
 * See README and COPYING for more details.
 
13
 */
 
14
 
 
15
#ifndef UUID_H
 
16
#define UUID_H
 
17
 
 
18
#define UUID_LEN 16
 
19
 
 
20
int uuid_str2bin(const char *str, u8 *bin);
 
21
int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
 
22
int is_nil_uuid(const u8 *uuid);
 
23
 
 
24
#endif /* UUID_H */