~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to src/utility.h

  • Committer: Osmo Antero
  • Date: 2012-09-29 18:12:44 UTC
  • Revision ID: osmoma@gmail.com-20120929181244-gmrxd5xww9pua60a
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <gio/gio.h> /* GFile */
8
8
 
9
9
#define MAX_PATH_LEN 2048
 
10
#define DEF_STR_LEN 511
10
11
 
11
12
gboolean open_tool_for_file(gchar *file, gchar *alternative_tool, GError **error);
12
13
 
17
18
void split_filename2(gchar *path, gchar **filepath,  gchar **filebase);
18
19
void split_filename3(gchar *path, gchar **filepath,  gchar **filebase, gchar **fileext);
19
20
 
 
21
guint str_length0(gchar *s);
20
22
guint str_length(gchar *s, guint maxlen);
21
23
void str_copy(gchar *dest, gchar *src, guint len);
22
24
 
65
67
// gchar *g_strlist_to_string(GList *lst, gchar *delim);
66
68
void str_cut_nicely(gchar *s, glong to_len, glong min_len);
67
69
 
 
70
GList *str_list_copy(GList *list);
68
71
void str_list_free(GList *list);
69
72
void str_list_print(gchar *prefix, GList *lst);
70
73
gboolean str_lists_equal(GList *l1, GList *l2);