Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
parser_url.h File Reference
#include <sys/types.h>
#include <zephyr/types.h>
#include <stddef.h>
#include <zephyr/net/http/parser_state.h>

Go to the source code of this file.

Data Structures

struct  http_parser_url
 

Enumerations

enum  http_parser_url_fields {
  UF_SCHEMA = 0 , UF_HOST = 1 , UF_PORT = 2 , UF_PATH = 3 ,
  UF_QUERY = 4 , UF_FRAGMENT = 5 , UF_USERINFO = 6 , UF_MAX = 7
}
 

Functions

enum state parse_url_char (enum state s, const char ch)
 
void http_parser_url_init (struct http_parser_url *u)
 
int http_parser_parse_url (const char *buf, size_t buflen, int is_connect, struct http_parser_url *u)
 

Enumeration Type Documentation

◆ http_parser_url_fields

Enumerator
UF_SCHEMA 
UF_HOST 
UF_PORT 
UF_PATH 
UF_QUERY 
UF_FRAGMENT 
UF_USERINFO 
UF_MAX 

Function Documentation

◆ http_parser_parse_url()

int http_parser_parse_url ( const char * buf,
size_t buflen,
int is_connect,
struct http_parser_url * u )

◆ http_parser_url_init()

void http_parser_url_init ( struct http_parser_url * u)

◆ parse_url_char()

enum state parse_url_char ( enum state s,
const char ch )