spkgdeveloper's documentation

path.h

00001 /*----------------------------------------------------------------------*\
00002 |* spkg - The Unofficial Slackware Linux Package Manager                *|
00003 |*                                      designed by Ondøej Jirman, 2005 *|
00004 |*----------------------------------------------------------------------*|
00005 |*          No copy/usage restrictions are imposed on anybody.          *|
00006 \*----------------------------------------------------------------------*/
00010 #ifndef SPKG__PATH_H
00011 #define SPKG__PATH_H
00012 
00013 #include <glib.h>
00014 
00015 G_BEGIN_DECLS
00016 
00023 extern gchar* path_sanitize_slashes(const gchar* path) G_GNUC_MALLOC;
00024 
00031 extern gchar* path_simplify(const gchar* path) G_GNUC_MALLOC;
00032 
00038 extern gchar** path_get_elements(const gchar* path) G_GNUC_MALLOC;
00039 
00050 extern gchar* sanitize_root_path(const gchar* root) G_GNUC_MALLOC;
00051 
00052 G_END_DECLS
00053 
00054 #endif
00055 
Documentation for spkg, Sun Jul 23 13:12:53 2006.