uuidlib.cpp File Reference

#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "sysdep.h"
#include "uuid.h"
#include "uuidlib.h"

Include dependency graph for uuidlib.cpp:

Go to the source code of this file.

Defines

#define MASK_1_2   0x03
#define MASK_1_4   0x0f
#define MASK_1_6   0x3f
#define MASK_3_6   0x3c
#define MASK_5_6   0x30
#define MASK_3_8   0xfc
#define MASK_5_8   0xf0
#define MASK_7_8   0xc0
#define MASK_5_10   0x03f0
#define MASK_7_12   0x0fc0
#define MASK_13_16   0xf000
#define MASK_11_16   0xfc00
#define MASK_13_18   0x0003f000
#define MASK_19_24   0x00fc0000
#define MASK_25_30   0x3f000000
#define MASK_31_32   0xc0000000

Functions

char * fn_uuid_create (char *uuid)
char * fn_guid_create (char *guid)
char * fn_squash_guid (char *guid, char *uuid)
char * fn_expand_uuid (char *uuid, char *guid)
char * _uuid_to_guid (uuid__t *_uuid, char *guid)
char * guid_to__uuid (char *guid, uuid__t *_uuid)
char * _uuid_to_uuid (uuid__t *_uuid, char *uuid)
uuid__tuuid_to__uuid (char *uuid, uuid__t *_uuid)
int sq_to_int (char i)

Variables

static char urlchars [] = "!*0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"


Define Documentation

#define MASK_11_16   0xfc00

Definition at line 67 of file uuidlib.cpp.

#define MASK_13_16   0xf000

Definition at line 66 of file uuidlib.cpp.

#define MASK_13_18   0x0003f000

Definition at line 69 of file uuidlib.cpp.

#define MASK_19_24   0x00fc0000

Definition at line 71 of file uuidlib.cpp.

#define MASK_1_2   0x03

Definition at line 50 of file uuidlib.cpp.

#define MASK_1_4   0x0f

Definition at line 52 of file uuidlib.cpp.

#define MASK_1_6   0x3f

Definition at line 54 of file uuidlib.cpp.

#define MASK_25_30   0x3f000000

Definition at line 73 of file uuidlib.cpp.

#define MASK_31_32   0xc0000000

Definition at line 75 of file uuidlib.cpp.

#define MASK_3_6   0x3c

Definition at line 55 of file uuidlib.cpp.

#define MASK_3_8   0xfc

Definition at line 58 of file uuidlib.cpp.

#define MASK_5_10   0x03f0

Definition at line 62 of file uuidlib.cpp.

#define MASK_5_6   0x30

Definition at line 56 of file uuidlib.cpp.

#define MASK_5_8   0xf0

Definition at line 59 of file uuidlib.cpp.

#define MASK_7_12   0x0fc0

Definition at line 64 of file uuidlib.cpp.

#define MASK_7_8   0xc0

Definition at line 60 of file uuidlib.cpp.


Function Documentation

char* _uuid_to_guid ( uuid__t _uuid,
char *  guid 
)

Definition at line 138 of file uuidlib.cpp.

char* _uuid_to_uuid ( uuid__t _uuid,
char *  uuid 
)

Definition at line 220 of file uuidlib.cpp.

char* fn_expand_uuid ( char *  uuid,
char *  guid 
)

Definition at line 125 of file uuidlib.cpp.

char* fn_guid_create ( char *  guid  ) 

Definition at line 100 of file uuidlib.cpp.

char* fn_squash_guid ( char *  guid,
char *  uuid 
)

Definition at line 113 of file uuidlib.cpp.

char* fn_uuid_create ( char *  uuid  ) 

Definition at line 87 of file uuidlib.cpp.

char* guid_to__uuid ( char *  guid,
uuid__t _uuid 
)

Definition at line 156 of file uuidlib.cpp.

int sq_to_int ( char  i  ) 

Definition at line 324 of file uuidlib.cpp.

uuid__t* uuid_to__uuid ( char *  uuid,
uuid__t _uuid 
)

Definition at line 267 of file uuidlib.cpp.


Variable Documentation

char urlchars[] = "!*0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" [static]

Definition at line 77 of file uuidlib.cpp.


Generated on Tue Jul 7 16:22:09 2009 for CoreLibrary by  doxygen 1.5.6