mongoose/src/url.h

10 lines
285 B
C
Raw Normal View History

2020-12-05 11:26:32 +00:00
#pragma once
#include "str.h"
unsigned short mg_url_port(const char *url);
int mg_url_is_ssl(const char *url);
struct mg_str mg_url_host(const char *url);
struct mg_str mg_url_user(const char *url);
struct mg_str mg_url_pass(const char *url);
const char *mg_url_uri(const char *url);