]> Dogcows Code - chaz/homebank/blobdiff - src/hb-tag.h
import homebank-5.2.4
[chaz/homebank] / src / hb-tag.h
index d2831a7abf8b7c6b22074efae0dfe818d875f797..88fa40961d63f225a15ae5158d9e377cdcff0fa3 100644 (file)
@@ -1,5 +1,5 @@
 /*  HomeBank -- Free, easy, personal accounting for everyone.
- *  Copyright (C) 1995-2018 Maxime DOYEN
+ *  Copyright (C) 1995-2019 Maxime DOYEN
  *
  *  This file is part of HomeBank.
  *
 
 typedef struct _tag            Tag;
 
-
 struct _tag
 {
        guint32         key;
        gchar           *name;
+
+       /* unsaved datas */
+       //gboolean      flt_select;
+       guint           usage_count;
 };
 
-void
-da_tag_free(Tag *item);
+
+void da_tag_free(Tag *item);
 Tag *da_tag_malloc(void);
 
 void da_tag_destroy(void);
@@ -46,6 +49,14 @@ guint32              da_tag_get_max_key(void);
 Tag            *da_tag_get_by_name(gchar *name);
 Tag            *da_tag_get(guint32 key);
 
+
+guint tags_count(guint32 *tags);
+guint32 *tags_clone(guint32 *tags);
+guint32 *tags_parse(const gchar *tagstring);
+gchar *tags_tostring(guint32 *tags);
+
+gboolean tag_rename(Tag *item, const gchar *newname);
+
 GList *tag_glist_sorted(gint column);
 
 #endif
This page took 0.019524 seconds and 4 git commands to generate.