Go to the source code of this file.
◆ FileServerRequestKind
Indicate what components are present in Interest name.
◆ FileServerRequestName
Parsed Interest name processed by file server.
◆ anonymous enum
Enumerator |
---|
FileServer_MaxPrefixL | Maximum mount+path TLV-LENGTH to accommodate [32=ls]+[32=metadata]+version+segment suffix components.
|
◆ FileServerRequestKind
Indicate what components are present in Interest name.
Enumerator |
---|
FileServerRequestNone | |
FileServerRequestVersion | |
FileServerRequestSegment | |
FileServerRequestLs | |
FileServerRequestMetadata | |
◆ FileServer_ParseRequest()
◆ FileServer_ToFilename()
bool FileServer_ToFilename |
( |
const PName * |
name, |
|
|
int16_t |
mountComps, |
|
|
char |
filename[PATH_MAX] |
|
) |
| |
Construct relative filename.
- Parameters
-
| mountComps | number of components in mount prefix. |
[out] | filename | relative filename. |