![]() |
ucspi-ssl
0.99e
TLS encryption for IPv6 communication
|
#include "hexconversion.h"
Go to the source code of this file.
Functions | |
void | bytetohex (unsigned char decimal, char hex[3]) |
char | tohex (char num) |
int | fromhex (unsigned char c) |
void bytetohex | ( | unsigned char | decimal, |
char | hex[3] | ||
) |
Convert a number of max 255 to hex.
decimal | The decimal number. |
hex | The converted hex value. |
Definition at line 8 of file hexconversion.c.
int fromhex | ( | unsigned char | c | ) |
Definition at line 32 of file hexconversion.c.
char tohex | ( | char | num | ) |
Definition at line 23 of file hexconversion.c.