Random number/string functions. More...
#include <stddef.h>#include <stdint.h>
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| uint64_t | mutt_rand64 (void) |
| Create a 64-bit random number. | |
| void | mutt_rand_base32 (char *buf, size_t buflen) |
| Fill a buffer with a base32-encoded random string. | |
Random number/string functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file random.h.
| uint64_t mutt_rand64 | ( | void | ) |
Create a 64-bit random number.
| num | Random number |
Definition at line 123 of file random.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_rand_base32 | ( | char * | buf, |
| size_t | buflen ) |
Fill a buffer with a base32-encoded random string.
| buf | Buffer for result |
| buflen | Length of buffer |
Definition at line 106 of file random.c.
Here is the call graph for this function:
Here is the caller graph for this function: