00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00020 #ifndef APR_UUID_H
00021 #define APR_UUID_H
00022
00023 #include "apu.h"
00024 #include "apr_errno.h"
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00040 typedef struct {
00041 unsigned char data[16];
00042 } apr_uuid_t;
00043
00045 #define APR_UUID_FORMATTED_LENGTH 36
00046
00047
00052 APU_DECLARE(void) apr_uuid_get(apr_uuid_t *uuid);
00053
00061 APU_DECLARE(void) apr_uuid_format(char *buffer, const apr_uuid_t *uuid);
00062
00068 APU_DECLARE(apr_status_t) apr_uuid_parse(apr_uuid_t *uuid, const char *uuid_str);
00069
00071 #ifdef __cplusplus
00072 }
00073 #endif
00074
00075 #endif