summaryrefslogtreecommitdiff
path: root/fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fd.h')
-rw-r--r--fd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fd.h b/fd.h
index 59b4889..a3ddbce 100644
--- a/fd.h
+++ b/fd.h
@@ -75,6 +75,7 @@ struct FDDescriptor {
#ifdef USE_XTRANS
XtransConnInfo trans_conn;
#endif
+ char *peer_info;
};
extern struct FDDescriptor *FDD; /* array of FD descriptors */
@@ -103,4 +104,7 @@ extern int MainLoop(void);
extern XtransConnInfo GetXTransConnInfo(FD fd);
#endif
+extern char *ReadPeerInfo(FD fd);
+extern const char *GetPeerInfo(FD fd);
+
#endif /* XSCOPE_FD_H */