remove unused file
[AROS.git] / workbench / libs / uuid / uuid_clear.c
blob032721be572acc706bf99a563439eddde1d4b0ae
1 /*
2 Copyright © 2007-2008, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define DEBUG 1
8 #include <aros/symbolsets.h>
9 #include <aros/debug.h>
10 #include <aros/libcall.h>
11 #include <proto/exec.h>
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include <ctype.h>
17 #include "uuid_private.h"
18 #include LC_LIBDEFS_FILE
20 /*****************************************************************************
22 NAME */
23 AROS_LH1I(void, UUID_Clear,
25 /* SYNOPSIS */
26 AROS_LHA(uuid_t *, uuid, A0),
28 /* LOCATION */
29 struct uuid_base *, UUIDBase, 11, UUID)
31 /* FUNCTION
32 Clears the specified uuid.
34 INPUTS
35 uuid - UUID to be cleared.
37 RESULT
38 This function always succeeds.
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 INTERNALS
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 int i;
56 ASSERT(uuid);
58 uuid->time_low = uuid->time_mid = uuid->time_hi_and_version = 0;
59 uuid->clock_seq_hi_and_reserved = uuid->clock_seq_low = 0;
60 for (i=0; i < 6; i++)
61 uuid->node[i] = 0;
63 AROS_LIBFUNC_EXIT