axis2_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 AXIS2_RAND_H
00018 #define AXIS2_RAND_H
00019 
00020 #include <axis2_error.h>
00021 #include <axis2_env.h>
00022 #include <axis2_date_time.h>
00023 #include <axis2_base64_binary.h>
00024 
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029 
00048 AXIS2_EXTERN int AXIS2_CALL
00049 axis2_rand(
00050     unsigned int *seedp);
00051 
00062 AXIS2_EXTERN int AXIS2_CALL
00063 axis2_rand_with_range(
00064     unsigned int *seedp,
00065     int start,
00066     int end);
00067 
00071 AXIS2_EXTERN unsigned int AXIS2_CALL
00072 axis2_rand_get_seed_value_based_on_time(
00073     const axis2_env_t *env);
00074 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 #endif                          /* AXIS2_RAND_H */

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1