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.
io_utils.h File Reference
#include <stdio.h>
#include "typedefs.h"
#include "grassroots_util_library.h"
Include dependency graph for io_utils.h:

Go to the source code of this file.

Functions

FileLocation GetFileLocation (const char *const filename_s)
 Determine whether a file is on the local filesystem or not. More...
 
char * CopyFileToLocalFilesystem (const char *const filename_s)
 Copy a file to the local filesystem. More...
 
char * CopyFileChunkToLocalFilesystem (const char *const filename_s, size_t offset, size_t chunk_size)
 Copy a file chunk to the local filesystem. More...
 
char * GetIntAsString (int value)
 Get a newly allocated char * with the given value. More...
 
char * GetUnsignedIntAsString (uint32 value)
 Get a newly allocated char * with the given value. More...
 
void WriteToLog (const char *log_ident_s, const int log_level, const char *message_s,...)
 Write a logging message to the given logfile. More...