Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
handler_utils.h File Reference
#include "grassroots_handler_library.h"
#include "handler.h"
#include "user_details.h"
#include "grassroots_server.h"
Include dependency graph for handler_utils.h:

Go to the source code of this file.

Functions

HandlerGetResourceHandler (const DataResource *resource_p, struct GrassrootsServer *server_p, const User *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...