00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AXUTIL_RAND_H
00019 #define AXUTIL_RAND_H
00020
00021 #include <axutil_error.h>
00022 #include <axutil_env.h>
00023 #include <axutil_date_time.h>
00024 #include <axutil_base64_binary.h>
00025
00026 #ifdef __cplusplus
00027 extern "C"
00028 {
00029 #endif
00030
00049 AXIS2_EXTERN int AXIS2_CALL
00050 axutil_rand(
00051 unsigned int *seedp);
00052
00063 AXIS2_EXTERN int AXIS2_CALL
00064 axutil_rand_with_range(
00065 unsigned int *seedp,
00066 int start,
00067 int end);
00068
00072 AXIS2_EXTERN unsigned int AXIS2_CALL
00073
00074 axutil_rand_get_seed_value_based_on_time(
00075 const axutil_env_t * env);
00076
00079 #ifdef __cplusplus
00080 }
00081 #endif
00082
00083 #endif