myMPD
Internal API documentation
Loading...
Searching...
No Matches
mg_str_utils.h File Reference

Functions for mongoose strings. More...

#include "dist/mongoose/mongoose.h"
Include dependency graph for mg_str_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int mg_str_to_int (const struct mg_str *str)
 
unsigned mg_str_to_uint (const struct mg_str *str)
 

Detailed Description

Functions for mongoose strings.

Function Documentation

◆ mg_str_to_int()

int mg_str_to_int ( const struct mg_str *  str)

Converts a mg_str to int

Parameters
strpointer to struct mg_str
Returns
parsed integer

◆ mg_str_to_uint()

unsigned mg_str_to_uint ( const struct mg_str *  str)

Converts a mg_str to unsigned int

Parameters
strpointer to struct mg_str
Returns
parsed integer