mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
12 lines
320 B
C
12 lines
320 B
C
|
|
#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);
|