diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-02-17 17:51:06 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-02-17 17:51:06 (GMT) |
commit | 73605bffb935fc51a52be1936426211e31dd898a (patch) | |
tree | 094d72321011baae0d5054e06906e9d006249c3b /src/debug/stream-int.h | |
parent | 98a3c749a15349b874dcef0ce3a43ebff651d95a (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.h | 8 |
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 */ |