axutil_rand.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef AXUTIL_RAND_H
00018 #define AXUTIL_RAND_H
00019 
00020 #include <axutil_error.h>
00021 #include <axutil_env.h>
00022 #include <axutil_date_time.h>
00023 #include <axutil_base64_binary.h>
00024 
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029 
00048 AXIS2_EXTERN int AXIS2_CALL
00049 axutil_rand(unsigned int *seedp);
00050 
00061 AXIS2_EXTERN int AXIS2_CALL
00062 axutil_rand_with_range(unsigned int *seedp,
00063     int start,
00064     int end);
00065 
00069 AXIS2_EXTERN unsigned int AXIS2_CALL
00070 axutil_rand_get_seed_value_based_on_time(
00071     const axutil_env_t *env);
00072 
00075 #ifdef __cplusplus
00076 }
00077 #endif
00078 
00079 #endif                          /* AXIS2_RAND_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6