mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 17:12:54 +03:00
@@ -113,6 +113,16 @@ static inline int uri_is_absolute ( struct uri *uri ) {
|
|||||||
return ( uri->scheme != NULL );
|
return ( uri->scheme != NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* URI has a path
|
||||||
|
*
|
||||||
|
* @v uri URI
|
||||||
|
* @ret has_path URI has a path
|
||||||
|
*/
|
||||||
|
static inline int uri_has_path ( struct uri *uri ) {
|
||||||
|
return ( uri->path && ( uri->path[0] != '\0' ) );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* URI has an absolute path
|
* URI has an absolute path
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user