1 .\" Copyright (c) 2002 Marcel Moolenaar
2 .\" Copyright (c) 2002 Hiten Mahesh Pandya
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
19 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
21 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nm uuid_compare , uuid_create , uuid_create_nil , uuid_equal ,
33 .Nm uuid_from_string , uuid_hash , uuid_is_nil , uuid_to_string
34 .Nd DCE 1.1 compliant UUID functions
40 .Fn uuid_compare "uuid_t *uuid1" "uuid_t *uuid2" "uint32_t *status"
42 .Fn uuid_create "uuid_t *uuid" "uint32_t *status"
44 .Fn uuid_create_nil "uuid_t *uuid" "uint32_t *status"
46 .Fn uuid_equal "uuid_t *uuid1" "uuid_t *uuid2" "uint32_t *status"
48 .Fn uuid_from_string "const char *str" "uuid_t *uuid" "uint32_t *status"
50 .Fn uuid_hash "uuid_t *uuid" "uint32_t *status"
52 .Fn uuid_is_nil "uuid_t *uuid" "uint32_t *status"
54 .Fn uuid_to_string "uuid_t *uuid" "char **str" "uint32_t *status"
56 The family of DCE 1.1 compliant UUID functions allow applications to operate
57 on universally unique identifiers, or UUIDs.
62 functions create UUIDs.
68 functions can be used to test UUIDs.
69 To convert from the binary representation to the string representation or
75 A 16-bit hash value can be obtained by calling
78 The successful or unsuccessful completion of the function is returned in
84 .Bl -tag -width ".Dv uuid_s_invalid_string_uuid"
86 The function completed successfully.
87 .It Dv uuid_s_bad_version
88 The UUID does not have a known version.
89 .It Dv uuid_s_invalid_string_uuid
90 The string representation of an UUID is not valid.
91 .It Dv uuid_s_no_memory
92 The meaning of the code escaped the writers mind.
98 The UUID functions conform to the DCE 1.1 RPC specification.
100 This manpage can be improved.