【文件属性】:
文件名称:liuri:URI解析库
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-05 14:18:29
C
liuri_parse(3)
名称
liuri_parse - 一个小的验证 URI (RFC 3986) 解析器
概要
# include < liuri>
int liuri_parse ( char const *uri, int size, struct liuri_components *components);
描述
将 'uri' 解析为其基本组件并将它们放置在由 'components' 指向的结构中。 'components' 不允许为 NULL。 如果 'size' 为 -1,则解析 'size' 字符数或直到空终止符。
struct liuri_match {
char const *string;
int length;
};
struct liuri_components {
struct liuri_match scheme;
【文件预览】:
liuri-master
----.gitignore(17B)
----src()
--------liuri.c(12KB)
--------CMakeLists.txt(149B)
--------liuri.h(653B)
----README.adoc(2KB)
----LICENSE(1KB)
----test()
--------liuri_test.c(14KB)
--------CMakeLists.txt(301B)
----CMakeLists.txt(728B)