Add random functions

This commit is contained in:
Matthias Schiffer 2013-03-18 23:38:04 +01:00
parent f567646b68
commit 4acbc99663
3 changed files with 12 additions and 1 deletions

View file

@ -56,6 +56,7 @@ static inline bool gmrf_addr_equal(const gmrf_addr_t *addr1, const gmrf_addr_t *
}
gmrf_time_t gmrf_now(gmrf_t *gmrf);
void gmrf_random_bytes(gmrf_t *gmrf, void *buffer, size_t len);
void gmrf_logf(gmrf_t *gmrf, int priority, const char *format, ...);
gmrf_addr_t gmrf_iface_get_addr(gmrf_t *gmrf, gmrf_iface_t *iface);