A fast, lightweight and minimalistic Wayland terminal emulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
320 B

#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);