summaryrefslogtreecommitdiffstats
path: root/source4/lib/messaging/messaging.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2015-02-16 12:16:03 +1300
committerVolker Lendecke <vl@samba.org>2015-02-16 12:15:07 +0100
commit11a513b8745698e6b287f185f5d4d80b8d59205b (patch)
treef45a981de2d31b9d757634bc7bf5e598da758c0b /source4/lib/messaging/messaging.c
parent1d95b0afc3547a91f8558873ce58652c271ed9eb (diff)
downloadsamba-11a513b8745698e6b287f185f5d4d80b8d59205b.tar.gz
samba-11a513b8745698e6b287f185f5d4d80b8d59205b.tar.xz
samba-11a513b8745698e6b287f185f5d4d80b8d59205b.zip
s4-messaging: Remove unused struct imessaging_rec
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Pair-programmed-with: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4/lib/messaging/messaging.c')
-rw-r--r--source4/lib/messaging/messaging.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index 66f9f1c1d0..6ce1ce7081 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -62,8 +62,6 @@ struct imessaging_context {
struct dispatch_fn **dispatch;
uint32_t num_types;
struct idr_context *dispatch_tree;
- struct imessaging_rec *pending;
- struct imessaging_rec *retry_queue;
struct irpc_list *irpc;
struct idr_context *idr;
struct server_id_db *names;
@@ -81,23 +79,6 @@ struct dispatch_fn {
};
/* an individual message */
-struct imessaging_rec {
- struct imessaging_rec *next, *prev;
- struct imessaging_context *msg;
- const char *path;
-
- struct imessaging_header {
- uint32_t version;
- uint32_t msg_type;
- struct server_id from;
- struct server_id to;
- uint32_t length;
- } *header;
-
- DATA_BLOB packet;
- uint32_t retries;
-};
-
static void irpc_handler(struct imessaging_context *, void *,
uint32_t, struct server_id, DATA_BLOB *);