Main Page | Modules | Namespace List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

apr_uuid.h

Go to the documentation of this file.
00001 /* Copyright 2000-2004 The Apache Software Foundation
00002  *
00003  * Licensed under the Apache License, Version 2.0 (the "License");
00004  * you may not use this file except in compliance with the License.
00005  * You may obtain a copy of the License at
00006  *
00007  *     http://www.apache.org/licenses/LICENSE-2.0
00008  *
00009  * Unless required by applicable law or agreed to in writing, software
00010  * distributed under the License is distributed on an "AS IS" BASIS,
00011  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00012  * See the License for the specific language governing permissions and
00013  * limitations under the License.
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 /* __cplusplus */
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 /* APR_UUID_H */

Generated on Thu Sep 8 12:16:02 2005 for Apache Portable Runtime Utility Library by  doxygen 1.4.4