cPathParser Class Reference

#include <search.h>

List of all members.

Static Public Member Functions

static bool parse (const char *Path, int *Section, int *Method, propertyMap *Properties)


Detailed Description

Web path parser

Parses paths which came from the webserver. It splits the path into a section, a certain method and its properties.

This can be used to easily determine which file was requested by a client


Member Function Documentation

bool cPathParser::parse ( const char *  Path,
int *  Section,
int *  Method,
propertyMap *  Properties 
) [static]

Parses the path

This will parse the path and stores the result in the pointers given.

Returns:
returns
  • true, if the parsing was successful
  • false, otherwise
Parameters:
Path the path which is parsed
Section the number of the registered section
Method the number of the registered method
Properties the properties found in the path


The documentation for this class was generated from the following files:

Generated on Sun Nov 8 15:44:09 2009 for UPnP/DLNA plugin for VDR by  doxygen 1.5.8