MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / hex_val

Function hex_val

src/ui/httpd.c:805–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803}
804
805static int hex_val(char ch) {
806 if (ch >= '0' && ch <= '9')
807 return ch - '0';
808 if (ch >= 'a' && ch <= 'f')
809 return ch - 'a' + 10;
810 if (ch >= 'A' && ch <= 'F')
811 return ch - 'A' + 10;
812 return -1;
813}
814
815bool cbm_http_query_param(const char *query, const char *name, char *buf, int bufsz) {
816 if (!query || !name || !buf || bufsz <= 0)

Callers 1

cbm_http_query_paramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected