Savarese Software Research Corporation
util.h File Reference

This header defines Renderer utility functions. More...

#include <ssrc/wispers-packages.h>
#include <vector>
#include <boost/regex.hpp>
#include <boost/filesystem/path.hpp>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cache_to_file (const char *buf, const unsigned int content_length, const path &cached_path)
void init_path_pattern (boost::regex &path_pattern, const std::vector< string > &directories, const string &leaf_pattern)

Detailed Description

This header defines Renderer utility functions.

Definition in file util.h.


Function Documentation

void cache_to_file ( const char *  buf,
const unsigned int  content_length,
const path &  cached_path 
)

Definition at line 27 of file util.cc.

Referenced by Renderer::render_and_cache().

void init_path_pattern ( boost::regex &  path_pattern,
const std::vector< string > &  directories,
const string leaf_pattern 
)

Definition at line 64 of file util.cc.

Referenced by _lua_init_global_environment_ref(), and _to_table().


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.