Public API Reference

csutil/syspath.h File Reference

Paths helpers. More...

#include "csextern.h"
#include "array.h"
#include "csstring.h"
#include "ref.h"
#include "util.h"
#include "iutil/stringarray.h"

Go to the source code of this file.


class  csInstallationPathsHelper
 A helper class containing a number of functions to deal with Crystal Space installation paths. More...
class  csPathsList
 Class to manage a list of paths. More...
class  csPathsUtilities
 A helper class with path-related utilities. More...
struct  csPathsList::Entry
 This structure contains information about a plugin path. More...


namespace  CS

Main namespace for CrystalSpace.

namespace  CS::Platform

Platform specific code and wrappers.


int CS::Platform::CreateDirectory (const char *path)
 Create a directory.
csString CS::Platform::GetTempDirectory ()
 Get system specific temporary folder.
csString CS::Platform::GetTempFilename (const char *path)
 Get file name for temporary file within specified directory.
bool CS::Platform::IsDirectory (struct stat *file_stat)
 Checks if the file attributes represent a directory.
bool CS::Platform::IsDirectory (const char *path)
 Checks if the path represents a directory.
bool CS::Platform::IsRegularFile (struct stat *file_stat)
 Checks if the file attributes represent a regular file.
bool CS::Platform::IsRegularFile (const char *path)
 Checks if the path represents a regular file.
int CS::Platform::Stat (const char *path, struct stat *buf)
 Check attributes of a path.
Helpers to deal with native paths

csString csGetConfigPath ()
 Get the installation path.
csPathsListcsGetPluginPaths (const char *argv0)
 Get a list of directories where plugins are installed.

Detailed Description

Paths helpers.

Definition in file syspath.h.

Generated for Crystal Space 2.1 by doxygen 1.6.1