flux-rng

flux-rng —

Synopsis




struct      FluxRng;
FluxRng*    flux_rng_new                    (void);
void        flux_rng_init                   (FluxRng *rng);
void        flux_rng_finalize               (FluxRng *rng);
void        flux_rng_get_bytes              (FluxRng *rng,
                                             gpointer out,
                                             guint len);
guint       flux_rng_get_guint              (FluxRng *rng);

Description

Details

struct FluxRng

struct FluxRng {

  FluxObject object;

  guchar    *pool;
  guint      len;
  guint      get_pos, insert_pos;
};


flux_rng_new ()

FluxRng*    flux_rng_new                    (void);

Returns :

flux_rng_init ()

void        flux_rng_init                   (FluxRng *rng);

rng :

flux_rng_finalize ()

void        flux_rng_finalize               (FluxRng *rng);

rng :

flux_rng_get_bytes ()

void        flux_rng_get_bytes              (FluxRng *rng,
                                             gpointer out,
                                             guint len);

rng :
out :
len :

flux_rng_get_guint ()

guint       flux_rng_get_guint              (FluxRng *rng);

rng :
Returns :