MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / to_hex

Function to_hex

modules/db_http/http_dbase.c:933–937  ·  view source on GitHub ↗

Converts an integer value to its hex character*/

Source from the content-addressed store, hash-verified

931
932/* Converts an integer value to its hex character*/
933char to_hex(char code)
934{
935 static char hex[] = "0123456789abcdef";
936 return hex[code & 15];
937}
938
939/* Returns a url-encoded version of str */
940str url_encode(str s)

Callers 1

url_encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected