aboutsummaryrefslogtreecommitdiff
path: root/src/recon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recon.h')
-rw-r--r--src/recon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recon.h b/src/recon.h
index 0a00b6f..99b8d58 100644
--- a/src/recon.h
+++ b/src/recon.h
@@ -8,7 +8,7 @@
typedef struct prne_recon prne_recon_t;
typedef struct prne_recon_param prne_recon_param_t;
typedef struct prne_recon_network prne_recon_network_t;
-typedef void(*prne_recon_evt_ft)(const prne_net_endpoint_t *ep);
+typedef void(*prne_recon_evt_ft)(void *ctx, const prne_net_endpoint_t *ep);
struct prne_recon_network {
prne_ip_addr_t addr;
@@ -29,6 +29,7 @@ struct prne_recon_param {
size_t cnt;
} ports;
prne_recon_evt_ft evt_cb;
+ void *cb_ctx;
bool ownership;
};