src/includepriv/xmmspriv/xmms_utils.h File Reference

Go to the source code of this file.

Defines

#define XMMS_BUILD_PATH(...)   xmms_build_path (__VA_ARGS__, NULL)

Functions

char * xmms_build_path (const char *name,...)
 Build path to file in xmms2 configuration directory.
gint xmms_natcmp_len (const gchar *str1, gint len1, const gchar *str2, gint len2)
gint xmms_natcmp (const gchar *str1, const gchar *str2)

Define Documentation

#define XMMS_BUILD_PATH ( ...   )     xmms_build_path (__VA_ARGS__, NULL)

Definition at line 4 of file xmms_utils.h.

Referenced by main(), xmms_bindata_init(), xmms_medialib_init(), and xmms_sqlite_create().


Function Documentation

char* xmms_build_path ( const char *  first,
  ... 
)

Build path to file in xmms2 configuration directory.

Parameters:
first The first file or directory name in the path.
... Additional file/directory names.
Returns:
Absolute path to a file or directory.

Definition at line 38 of file utils.c.

gint xmms_natcmp ( const gchar *  str1,
const gchar *  str2 
)

Definition at line 150 of file utils.c.

gint xmms_natcmp_len ( const gchar *  str1,
gint  len1,
const gchar *  str2,
gint  len2 
)

Definition at line 127 of file utils.c.

Referenced by xmms_natcmp().


Generated on Tue Feb 23 18:14:36 2010 for XMMS2 by  doxygen 1.6.1