You are looking at historical revision 19531 of this page. It may differ significantly from its current revision.
- Pre-defined Namespaces
- UUID Variants
- Comparison Procedures
- Creation Procedures
- Export Procedures
- Auxillary Procedures
- Version history
Provides access to the OSSP UUID Library. This document does not supplant the OSSP UUID Library documentation.
The OSSP UUID Library is not included in this distribution. The library source is available at the above URL. See the Issues section below for more information.
- DNS" : 6ba7b810-9dad-11d1-80b4-00c04fd430c8
- URL" : 6ba7b811-9dad-11d1-80b4-00c04fd430c8
- OID" : 6ba7b812-9dad-11d1-80b4-00c04fd430c8
- X500" : 6ba7b814-9dad-11d1-80b4-00c04fd430c8
- DCE 1.1 variant UUID of version 1
- DCE 1.1 variant UUID of version 1 with random MAC address
- DCE 1.1 variant UUID of version 3
- DCE 1.1 variant UUID of version 4
- DCE 1.1 variant UUID of version 5
uuid?[procedure] (uuid? UUID) => boolean
Is UUID a uuid?
uuid-null?[procedure] (uuid-nil? UUID) => boolean
[procedure] (uuid-null? UUID) => boolean
Is UUID the nil-uuid?
uuid-null? is a synonym.
uuid-compare[procedure] (uuid-compare UUID1 UUID2) => integer
Returns the comparison of UUID1 and UUID2 as -1, 0, or 1.
uuid=?[procedure] (uuid=? UUID1 UUID2) => boolean
Are UUID1 and UUID2 equal?
uuid<>?[procedure] (uuid<>? UUID1 UUID2) => boolean
Are UUID1 and UUID2 not equal?
uuid<?[procedure] (uuid<? UUID1 UUID2) => boolean
Does UUID1 order below UUID2?
uuid>?[procedure] (uuid>? UUID1 UUID2) => boolean
Does UUID1 order above UUID2?
uuid<=?[procedure] (uuid<=? UUID1 UUID2) => boolean
Does UUID1 order below or the same as UUID2?
uuid>=?[procedure] (uuid>=? UUID1 UUID2) => boolean
Does UUID1 order above or the same as UUID2?
uuid-clone[procedure] (uuid-clone UUID) => uuid
Returns a copy of the UUID.
uuid-load[procedure] (uuid-load NAMESPACE) => uuid
Returns a uuid for the NAMESPACE.
make-uuid[procedure] (make-uuid [VARIANT [NAMESPACE NAME]]) => uuid
Returns a uuid VARIANT, or the nil-uuid when missing.
The NAMESPACE and NAME are required for V3 and V5 variants.
uuid-import[procedure] (uuid-import STRING) => uuid
Returns a uuid from the external STRING representation.
uuid-import-binary[procedure] (uuid-import-binary BINARY-STRING) => uuid
Returns a uuid from the external BINARY-STRING representation.
uuid-export[procedure] (uuid-export UUID) => string
Returns the external string representation of UUID.
uuid-export-binary[procedure] (uuid-export-binary UUID) =>
Returns the external binary-string representation of UUID.
uuid-export-text[procedure] (uuid-export-text UUID) => string
Returns the external text representation of UUID.
uuid-version[procedure] (uuid-version) => integer
Returns OSSP UUID Library version as an unsigned-long.
Errors generated by the OSSP UUID Library are signalled using a condition of (exn uuid), with properties message, and code.
Argument errors are signalled using error.
- Requires at least release 1.3.0 of the OSSP UUID Library.
- The use of the "uuid" prefix/name by the OSSP UUID Library is problematic. A generic name often with an existing meaning.
- Reed Sheridan has pointed out that the Debian system renames the library, as an existing library of the same name already exists. For example, uuid.h is ossp/uuid.h.
- Without the use of a build system which can deal with platform specific conditions installation of this egg might require manual intervention. The file "uuid-ossp-fix.c" has the references to the include file.
- Deprecated uuid= uuid<> uuid< uuid> uuid<= uuid>=.
Copyright (C) 2010 Kon Lovett. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ASIS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.