#include <comprex.h>
#include <comprex.h>
Go to the source code of this file.
Defines | |
#define | CX_LINK(ptr) ++(ptr)->refCount |
Updates the reference count on a structure. | |
#define | CX_UNLINK(ptr) --(ptr)->refCount |
Decrements the reference count on a structure. | |
Functions | |
char * | cxGetBaseName (const char *path) |
Returns the base filename for the specified path. | |
char * | cxGetBasePath (const char *path) |
Returns the base path for the specified path. | |
char * | cxFixPath (const char *path) |
Fixes up the specified path by processing all ".." and "." that may be in the path. | |
char * | cxGetFullFilePath (const char *filename) |
Returns the full, absolute path for the specified filename. |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Updates the reference count on a structure.
|
|
Decrements the reference count on a structure.
|
|
Fixes up the specified path by processing all ".." and "." that may be in the path.
|
|
Returns the base filename for the specified path. The base filename is the part not containing path information.
|
|
Returns the base path for the specified path. The base path is the part not containing the actual filename.
|
|
Returns the full, absolute path for the specified filename. This prepends the current working directory, if the specified path is not an absolute path. The path will be processed by using the cxFixPath() function.
|