16 lines
354 B
C
16 lines
354 B
C
#ifndef PIRC_PARSER_H
|
|
#define PIRC_PARSER_H
|
|
|
|
#include "pidir.h"
|
|
#include "pifile.h"
|
|
|
|
struct ParserSection {
|
|
PIString name;
|
|
PIVector<PIPair<PIString, PIString> > files; // name, path
|
|
};
|
|
|
|
PIVector<ParserSection> parse(const PIString & path);
|
|
PIVector<ParserSection> parseConf(PIFile & file, const PIString & dir);
|
|
|
|
#endif // PIRC_PARSER_H
|