[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-committers
Subject:    [ProFTPD-committers] CVS: proftpd/include netaddr.h,1.18,1.19
From:       TJ Saunders <castaglia () users ! sourceforge ! net>
Date:       2005-09-19 21:35:40
Message-ID: E1EHTIa-0007kh-Sr () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/proftp/proftpd/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29737/include

Modified Files:
	netaddr.h 
Log Message:

Bug#2695 - Client IP/host is not logged when client exits.


Index: netaddr.h
===================================================================
RCS file: /cvsroot/proftp/proftpd/include/netaddr.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- netaddr.h	2 Nov 2004 18:18:58 -0000	1.18
+++ netaddr.h	19 Sep 2005 21:35:38 -0000	1.19
@@ -1,6 +1,6 @@
 /*
  * ProFTPD - FTP server daemon
- * Copyright (c) 2003 The ProFTPD Project team
+ * Copyright (c) 2003-2005 The ProFTPD Project team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -352,4 +352,13 @@
  */
 int pr_netaddr_is_v4mappedv6(const pr_netaddr_t *);
 
+/* Return pointers to static memory which contains the local and remote
+ * netaddr information for the sesssion.  DO NOT MODIFY the pointed-to
+ * memory!  Returns NULL if no such session information exists.
+ */
+pr_netaddr_t *pr_netaddr_get_sess_local_addr(void);
+pr_netaddr_t *pr_netaddr_get_sess_remote_addr(void);
+const char *pr_netaddr_get_sess_remote_name(void);
+void pr_netaddr_set_sess_addrs(void);
+
 #endif /* PR_NETADDR_H */



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic