Contains routines for dealing with VCS and build information.
Prototypes | |
char * | XLALVCSInfoString (const LALVCSInfoList vcs_list, const int verbose, const char *prefix) |
Generate a multi-line string containing VCS and build information for a library and its dependencies, as given in vcs_list . More... | |
int | XLALOutputVCSInfo (FILE *fp, const LALVCSInfoList vcs_list, const int verbose, const char *prefix) |
Output VCS and build information, as generated by XLALVCSInfoString(), to a file pointer fp . More... | |
Data Structures | |
struct | LALVCSInfo |
VCS and build information structure. More... | |
Typedefs | |
typedef const LALVCSInfo *const | LALVCSInfoList[16] |
NULL -terminated list of VCS and build information structures More... | |
char * XLALVCSInfoString | ( | const LALVCSInfoList | vcs_list, |
const int | verbose, | ||
const char * | prefix | ||
) |
Generate a multi-line string containing VCS and build information for a library and its dependencies, as given in vcs_list
.
The verbosity of information contained in the string is controlled by verbose
. The string prefix
is prepended to each line.
Definition at line 27 of file LALVCSInfoType.c.
int XLALOutputVCSInfo | ( | FILE * | fp, |
const LALVCSInfoList | vcs_list, | ||
const int | verbose, | ||
const char * | prefix | ||
) |
Output VCS and build information, as generated by XLALVCSInfoString(), to a file pointer fp
.
The arguments vcs_list
, verbose
, and prefix
are as for XLALVCSInfoString().
Definition at line 87 of file LALVCSInfoType.c.
typedef const LALVCSInfo* const LALVCSInfoList[16] |
NULL
-terminated list of VCS and build information structures
Definition at line 61 of file LALVCSInfoType.h.