handler_utils.h File Reference
#include "grassroots_handler_library.h"
#include "parameter.h"
#include "handler.h"
Include dependency graph for handler_utils.h:

Go to the source code of this file.

Functions

HandlerGetResourceHandler (const Resource *resource_p, const char *relative_url_s, const UserDetails *user_p)
 Get the appropriate Handler for a given Resource. More...
 
bool InitHandlerUtil (void)
 This allocates the internal structures used by the Handler library. More...
 
bool DestroyHandlerUtil (void)
 This frees the internal structures used by the Handler library. More...
 
const char * GetMappedFilename (const char *protocol_s, const char *user_id_s, const char *filename_s, time_t *time_p)
 Create a local file for caching changes to a remote file allowing changes to be committed once editing has finished,. More...
 
bool SetMappedFilename (const char *protocol_s, const char *user_id_s, const char *filename_s, const char *mapped_filename_s, const time_t last_mod_time)
 Store the details of an external file and its locally-mapped copy. More...