X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fhb-misc.h;h=3f6c7f1b410b7dac5ffb4cc02b6ea064d36cc302;hp=e0b8148540ef9588dde472e705757743c8063229;hb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6;hpb=996fa4ab9f6b836001f8ad0eecbfd3821687fea7 diff --git a/src/hb-misc.h b/src/hb-misc.h index e0b8148..3f6c7f1 100644 --- a/src/hb-misc.h +++ b/src/hb-misc.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2016 Maxime DOYEN + * Copyright (C) 1995-2018 Maxime DOYEN * * This file is part of HomeBank. * @@ -32,7 +32,7 @@ void hb_strfmon(gchar *outstr, gint outlen, gdouble value, guint32 kcur, gboolea void hb_strfmon_int(gchar *outstr, gint outlen, gdouble value, guint32 kcur, gboolean minor); void hb_strfnum(gchar *outstr, gint outlen, gdouble value, guint32 kcur, gboolean minor); -gchar *hb_util_filename_new_with_extension(gchar *filename, const gchar *extension); +gchar *hb_filename_new_with_extension(gchar *filename, const gchar *extension); gchar *get_normal_color_amount(gdouble value); gchar *get_minimum_color_amount(gdouble value, gdouble minvalue); @@ -48,6 +48,8 @@ gint hb_string_utf8_compare(gchar *s1, gchar *s2); void hb_string_strip_crlf(gchar *str); void hb_string_replace_char(gchar c, gchar *str); +gchar *hb_string_copy_jsonpair(gchar *dst, gchar *str); +void hb_string_inline(gchar *str); gchar* hb_strdup_nobrackets (const gchar *str); gchar *hb_sprint_date(gchar *outstr, guint32 julian);