GRPC Core
9.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/uri/uri_parser.h"
#include <string.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/slice/percent_encoding.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"
Macros | |
#define | NOT_SET (~(size_t)0) |
a size_t default value... More... | |
Functions | |
grpc_uri * | grpc_uri_parse (const char *uri_text, bool suppress_errors) |
parse a uri, return NULL on failure More... | |
const char * | grpc_uri_get_query_arg (const grpc_uri *uri, const char *key) |
return the part of a query string after the '=' in "?key=xxx&...", or NULL if key is not present More... | |
void | grpc_uri_destroy (grpc_uri *uri) |
destroy a uri More... | |
#define NOT_SET (~(size_t)0) |
a size_t default value...
maps to all 1's
void grpc_uri_destroy | ( | grpc_uri * | uri | ) |
destroy a uri
const char* grpc_uri_get_query_arg | ( | const grpc_uri * | uri, |
const char * | key | ||
) |
return the part of a query string after the '=' in "?key=xxx&...", or NULL if key is not present
grpc_uri* grpc_uri_parse | ( | const char * | uri_text, |
bool | suppress_errors | ||
) |
parse a uri, return NULL on failure