uriparser 0.9.8
Loading...
Searching...
No Matches
Functions
UriIp4.h File Reference

Functions

URI_PUBLIC int uriParseIpFourAddressA (unsigned char *octetOutput, const char *first, const char *afterLast)
 

Detailed Description

Holds the IPv4 parser interface. NOTE: This header includes itself twice.

Function Documentation

◆ uriParseIpFourAddressA()

URI_PUBLIC int uriParseIpFourAddressA ( unsigned char * octetOutput,
const char * first,
const char * afterLast )

Converts a IPv4 text representation into four bytes.

Parameters
octetOutputOutput destination
firstFirst character of IPv4 text to parse
afterLastPosition to stop parsing at
Returns
Error code or 0 on success