File: utility.h

package info (click to toggle)
gnomp3 0.1.7-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 488 kB
  • ctags: 342
  • sloc: ansic: 3,285; makefile: 74; awk: 33
file content (16 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTILITY_H
#define UTILITY_H
#include <gnome.h>

void path_breakdown(char *path, char **dir, char **file);
void strip_underscores(char *string);
void check_and_create_dir(char *prefix, char *dirname);
int is_directory(char *path);
int file_exists(char *path);
char *file_in_home(char *filename);

GList *g_list_move_up(GList *list, GList *node);
GList *g_list_move_down(GList *list, GList *node);

char *itoa(int i);
#endif