Home
last modified time | relevance | path

Searched refs:strbase (Results 1 – 2 of 2) sorted by relevance

/external/libmicrohttpd/doc/examples/
Dtlsauthentication.c124 const char *strbase = "Basic realm="; in ask_for_authentication() local
131 headervalue = malloc (strlen (strbase) + strlen (realm) + 1); in ask_for_authentication()
135 strcpy (headervalue, strbase); in ask_for_authentication()
159 const char *strbase = "Basic "; in is_authenticated() local
167 if (0 != strncmp (headervalue, strbase, strlen (strbase))) in is_authenticated()
184 (strcmp (headervalue + strlen (strbase), expected_b64) == 0); in is_authenticated()
/external/libmicrohttpd/doc/
Dlibmicrohttpd-tutorial.info4057 const char *strbase = "Basic realm=";
4064 headervalue = malloc (strlen (strbase) + strlen (realm) + 1);
4068 strcpy (headervalue, strbase);
4092 const char *strbase = "Basic ";
4100 if (0 != strncmp (headervalue, strbase, strlen (strbase)))
4117 (strcmp (headervalue + strlen (strbase), expected_b64) == 0);