libnavajo
web server for static and dynamic pages developement in C++
Classes | Functions | Variables
navajoPrecompiler.cc File Reference

Tool to generate a C++ PrecompiledRepository class. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <dirent.h>
#include <vector>
#include <string>
#include <algorithm>
Include dependency graph for navajoPrecompiler.cc:

Classes

struct  ConversionEntry
 

Functions

void dump_buffer (FILE *f, unsigned n, const unsigned char *buf)
 
char * str_replace_first (char *buffer, const char *s, const char *by)
 
bool loadFilename_dir (const std::string &path, const std::string &subpath="")
 
void parseDirectory (const std::string &dirPath)
 
int main (int argc, char *argv[])
 Main function. More...
 

Variables

std::vector< std::string > filenamesVec
 

Detailed Description

Tool to generate a C++ PrecompiledRepository class.

Author
T.Descombes (thier.nosp@m.ry.d.nosp@m.escom.nosp@m.bes@.nosp@m.gmail.nosp@m..com)
Version
1
Date
19/02/15

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main function.

Parameters
argcthe number of web files
argvthe filenames (with absolute path)
Returns
0 upon exit success