src/util.h File Reference

Utility functions and macros used by libbls. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int path_join (char **result, char *path1, char *path2)
 Joins two path components to form a full path.

Detailed Description

Utility functions and macros used by libbls.

Definition in file util.h.


Function Documentation

int path_join ( char **  result,
char *  path1,
char *  path2 
)

Joins two path components to form a full path.

The resulting path should be freed using free() when it is not needed anymore.

Parameters:
[out] result the resulting combined path
path1 first path component
path2 second path component
Returns:
the operation error code

Definition at line 46 of file util.c.

Referenced by segcol_store_in_file().

Here is the caller graph for this function:


Generated on Sun Nov 15 15:27:51 2009 for libbls by  doxygen 1.6.1