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.
|
char * CopyFileToLocalFilesystem(const char *const filename_s)
Copy a file to the local filesystem.
FileLocation GetFileLocation(const char *const filename_s)
Determine whether a file is on the local filesystem or not.
char * CopyFileChunkToLocalFilesystem(const char *const filename_s, size_t offset, size_t chunk_size)
Copy a file chunk to the local filesystem.
char * GetUnsignedIntAsString(uint32 value)
Get a newly allocated char * with the given value.
FileLocation
An enum specifying whether a file is located on a local or remote filesystem.
Definition: typedefs.h:165
void WriteToLog(const char *log_ident_s, const int log_level, const char *message_s,...)
Write a logging message to the given logfile.
char * GetIntAsString(int value)
Get a newly allocated char * with the given value.
#define GRASSROOTS_UTIL_API
Definition: grassroots_util_library.h:47