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

#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
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.

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

Definition at line 150 of file utils.c.

Referenced by xmms_xform_browse_add_entry().

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