Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
== Outdated egg! This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for [[/eggref/5/uuid-lib|the CHICKEN 5 version of this egg]], if it exists. If it does not exist, there may be equivalent functionality provided by another egg; have a look at the [[https://wiki.call-cc.org/chicken-projects/egg-index-5.html|egg index]]. Otherwise, please consider porting this egg to the current version of CHICKEN. [[tags: egg]] == uuid-lib OSF DCE 1.1 UUID [[toc:]] == Documentation Wrapper for {{uuid/uuid.h}} procedures on MacOS X, and Linux. === Predicates ==== uuid? <procedure>(uuid? UUID) -> boolean</procedure> Is {{UUID}} a uuid? ==== uuid-null? <procedure>(uuid-null? UUID) -> boolean</procedure> Is {{UUID}} the null uuid? ==== uuid-compare <procedure>(uuid-compare UUID1 UUID2) -> fixnum</procedure> Returns {{-1}}, {{0}}. or {{1}} for the comaprison of {{UUID1}} and {{UUID2}}. ==== uuid=? <procedure>(uuid=? UUID1 UUID2) -> boolean</procedure> Are {{UUID1}} and {{UUID2}} equal? ==== uuid<? <procedure>(uuid<? UUID1 UUID2) -> boolean</procedure> Does {{UUID1}} order below {{UUID2}}? ==== uuid>? <procedure>(uuid>? UUID1 UUID2) -> boolean</procedure> Does {{UUID1}} order above {{UUID2}}? ==== uuid<=? <procedure>(uuid<=? UUID1 UUID2) -> boolean</procedure> Does {{UUID1}} order below or the same as {{UUID2}}? ==== uuid>=? <procedure>(uuid>=? UUID1 UUID2) -> boolean</procedure> Does {{UUID1}} order above or the same as {{UUID2}}? === Operations ==== uuid-clear! <procedure>(uuid-clear! UUID) -> uuid</procedure> Returns the {{UUID}} set to the null-uuid. ==== uuid-copy <procedure>(uuid-copy UUID) -> uuid</procedure> Returns a copy of the {{UUID}}. ==== make-uuid <procedure>(make-uuid [VARIANT]) -> uuid</procedure> Returns a new uuid. {{VARIANT}} is: ; {{'V1}} or {{'time}} : DCE Version 1 (MAC address) algorithm. ; {{'V4}} or {{'random}} : DCE Version 4 (random) algorithm. ; {{#f}} : The null-uuid. The default. An invalid {{MODE}} is an error condtion. ==== string->uuid <procedure>(string->uuid UUID-STRING) -> uuid</procedure> Returns a new uuid from the external string representation {{UUID-STRING}}. ==== uuid->string <procedure>(uuid->string UUID) -> string</procedure> Returns the external string representation of {{UUID}}. ==== uuid-generate <procedure>(uuid-generate [METHOD]) -> uuid</procedure> Returns a new uuid. {{METHOD}} is: ; {{'random}} : DCE Version 4 (random) algorithm. ; {{'time}} : DCE Version 1 (MAC address) algorithm. ; {{#f}} : DCE V4 if a high-quality random device available, otherwise DCE V1. The default. An invalid {{METHOD}} is an error condtion. ==== uuid-parse <procedure>(uuid-parse UUID-TEXT) -> uuid</procedure> Returns a new uuid from the external string representation {{UUID-TEXT}}. ==== uuid-unparse <procedure>(uuid-unparse UUID [CASE]) -> string</procedure> Returns the external string representation of {{UUID}}. {{CASE}} is {{#f}} (the system dependent local default), {{'upper}}, or {{'lower}}. Default is {{#f}}. An invalid {{CASE}} is an error condtion. == Usage <enscript language=scheme> (require-extension uuid-lib) </enscript> == Notes * The {{uuid?}}. {{uuid-null?}}, {{uuid-compare}}, {{uuid=?}}, {{uuid<?}}, {{uuid>?}}, {{uuid<=?}}, {{uuid>=?}}, {{make-uuid}}, {{uuid-copy}}, {{uuid-clear!}}, {{string->uuid}}, {{uuid->string}} share the same signature as the corresponding routines in the ''uuid-ossp'' extension. * When a UUID argument is not of the expected type the routines will silently fail by returning {{#f}}, no matter what the declared return type. This may change in the future. == Author [[/users/kon-lovett|Kon Lovett]] == Version history ; 1.5.0 ; Add types. ; 1.4.1 : Explicit libuuid for linux. ; 1.4.0 : Added {{make-uuid}}, {{string->uuid}}, {{uuid->string}}. Dropped use of "uuid-lib-c-api.scm" since undocumented. Deprecated {{uuid<>?}}. ; 1.3.0 : Exposed {{uuid-compare}}. ; 1.2 : Hello. == License 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.
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you add 12 to 24?