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

Function hex_val

src/ui/httpd.c:810–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

cbm_http_query_paramFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected