Update coverity model to support glib data structures

From: Tim Smith <tim.smith@citrix.com>

* g_hashtable_insert
  * g_array_append_vals

Signed-off-by: Mark Syms <mark.syms@citrix.com>
---
 scripts/coverity-scan/model.c |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/scripts/coverity-scan/model.c b/scripts/coverity-scan/model.c
index 686d1a3008..8750bd5e94 100644
--- a/scripts/coverity-scan/model.c
+++ b/scripts/coverity-scan/model.c
@@ -342,6 +342,27 @@ void *g_try_realloc(void *ptr, size_t size)
     return g_realloc(ptr, size);
 }
 
+/*
+ * Glib data structure functions
+ */
+typedef bool gboolean;
+typedef void* gpointer;
+typedef struct GHashTable GHashTable;
+gboolean g_hash_table_insert(GHashTable *tbl, gpointer key, gpointer value)
+{
+    __coverity_escape__(value);
+}
+
+typedef const void* gconstpointer;
+typedef unsigned int guint;
+typedef struct GArray GArray;
+GArray* g_array_append_vals       (GArray           *array,
+                                   gconstpointer     data,
+                                   guint             len)
+{
+    __coverity_escape__(data);
+}
+
 /* Other glib functions */
 
 typedef struct pollfd GPollFD;
