1 /** 2 * @file utilities.h 3 * 4 * @brief The header of utilities.c 5 * 6 * Thu Sep 23 14:16:33 2004 7 * Copyright (c) 2004 Alejandro Claro 8 * aleo@apollyon.no-ip.com 9 */ 10 11 #ifndef _UTILITIES_H 12 #define _UTILITIES_H default() -> Stack13 14 /* INCLUDES *****************************************************************/ 15 16 #include <gtk/gtk.h> 17 #include "bencode.h" 18 19 /* PROTOTYPES ***************************************************************/ 20 21 G_BEGIN_DECLS 22 23 gchar *util_convert_to_hex(const gchar *data, guint length, const gchar *prefix); 24 gchar *util_convert_to_human(gdouble number, const gchar *suffix); 25 gchar *util_convert_node_to_string(BencNode *list, gchar *delimiter); 26 27 GdkPixbuf *util_get_pixbuf_from_file(const gchar *name); 28 29 G_END_DECLS 30 31 #endif /* _UTILITIES_H */ 32