00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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