src/xmms/utils.c File Reference

Miscellaneous internal utility functions specific to the daemon. More...

#include <stdlib.h>
#include <glib.h>
#include <stdarg.h>
#include <string.h>
#include "xmmsc/xmmsc_util.h"
#include "xmms/xmms_util.h"
#include "xmmspriv/xmms_utils.h"
#include "xmmsc/xmmsc_strlist.h"

Go to the source code of this file.

Functions

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

Detailed Description

Miscellaneous internal utility functions specific to the daemon.

Definition in file utils.c.


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.

gchar* xmms_build_playlist_url ( const gchar *  plspath,
const gchar *  file 
)

Definition at line 102 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