diff options
author | Alan Fitton <alan@eth0.org.uk> | 2012-08-23 08:30:02 +0100 |
---|---|---|
committer | Alan Fitton <alan@eth0.org.uk> | 2012-08-23 08:30:02 +0100 |
commit | fd6f3356d27d3e3b6f0506b76e0a381efed7e3ef (patch) | |
tree | 44c5d0ee9633f688f0288703dcab04af1b892671 /src/util.h | |
parent | 63b4366fc1069fad0a51ddcaa1406447055db9a1 (diff) |
adapt the cell renderer from Transmission to sort of work. possibly an alternative style, but lots of work to be done here.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,8 @@ size_t tr_strlcpy(char *dst, const void *src, size_t siz); double tr_truncd(double x, int decimal_places); int evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap); +char* +tr_strlsize( char * buf, guint64 bytes, size_t buflen ); void rm_trailing_slashes(gchar * str); void trg_widget_set_visible(GtkWidget * w, gboolean visible); gchar *trg_base64encode(const gchar * filename); |