summaryrefslogtreecommitdiff
path: root/src/debug/stream-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-02-17 17:51:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-02-17 17:51:06 (GMT)
commit73605bffb935fc51a52be1936426211e31dd898a (patch)
tree094d72321011baae0d5054e06906e9d006249c3b /src/debug/stream-int.h
parent98a3c749a15349b874dcef0ce3a43ebff651d95a (diff)
Listed all running threads using Python.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@234 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/debug/stream-int.h')
-rw-r--r--src/debug/stream-int.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/debug/stream-int.h b/src/debug/stream-int.h
index 6250522..05b6c42 100644
--- a/src/debug/stream-int.h
+++ b/src/debug/stream-int.h
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* stream-int.h - prototypes internes pour la gestion des connexions liées aux débogages.
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -40,6 +40,11 @@ typedef bool (* debug_poll_fc) (GDebugStream *);
/* Réceptionne un paquet de données d'un serveur de débogage. */
typedef bool (* debug_pkt_op_fc) (GDebugStream *, GDebugPacket *);
+/* Libère le contenu alloué d'un paquet de débogage. */
+typedef void (* debug_free_pkt_fc) (GDebugStream *, GDebugPacket *);
+
+
+
@@ -60,6 +65,7 @@ struct _GDebugStream
debug_poll_fc poll; /* Attente de traitements */
debug_pkt_op_fc send_packet; /* Emission d'un paquet */
debug_pkt_op_fc recv_packet; /* Réception d'un paquet */
+ debug_free_pkt_fc free_packet; /* Libération d'un paquet */
GThread *listening; /* Thread pour les réceptions */