uriparser  0.9.0
Functions
UriIp4.h File Reference

Functions

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()

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