XMMS2
Macros | Functions
xmms_utils.h File Reference

Go to the source code of this file.

Macros

#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. More...
 
gint xmms_natcmp_len (const gchar *str1, gint len1, const gchar *str2, gint len2)
 
gint xmms_natcmp (const gchar *str1, const gchar *str2)
 

Macro Definition Documentation

◆ XMMS_BUILD_PATH

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

Definition at line 4 of file xmms_utils.h.

Function Documentation

◆ xmms_build_path()

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

Build path to file in xmms2 configuration directory.

Parameters
firstThe 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.

◆ xmms_natcmp()

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

Definition at line 150 of file utils.c.

◆ xmms_natcmp_len()

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().