blob: b63290c57beec64c84662a899eef997651b4cf7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
bool uri_parse(const char *uri, size_t len,
char **scheme, char **user, char **password, char **host,
uint16_t *port, char **path, char **query, char **fragment);
bool hostname_is_localhost(const char *hostname);
|