aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/throughput.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-04-03 19:26:02 +0000
committerBrian Somers <brian@FreeBSD.org>1998-04-03 19:26:02 +0000
commitb6217683dc0269a53b799399522dbdfb5a4919cc (patch)
tree902951de8deb101adced0820378356c58e63d98b /usr.sbin/ppp/throughput.h
parent8390b576621390705c322cd2a7781df9174356f7 (diff)
downloadsrc-b6217683dc0269a53b799399522dbdfb5a4919cc.tar.gz
src-b6217683dc0269a53b799399522dbdfb5a4919cc.zip
Deglobalise `struct prompt':
o Our diagnostic socket has its password set in the `set socket' line only (not in ppp.secret). o Passwords are per server socket (*VarAuthKey are gone) o Authority is per prompt (VarLocalAuth is gone). o Local logging is per prompt. o Add a `show who' command to see who's connected. No identd routine - just a `where the connection came from' display. o SIGUSR1 is disabled for now - we have no way of choosing a password for the socket created :-( Prompts are attached as a list of `struct descriptor's in struct bundle, and serviced under the bundles descriptor service routines. Ultimately, everything should be done like this. Cosmetic: o alphabeticalise SRCS in Makefile. o Add a few comments in command.h TODO: Start checking that we don't overflow the descriptor sets in select() now that we can have any number of descriptors.
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=35016
Diffstat (limited to 'usr.sbin/ppp/throughput.h')
-rw-r--r--usr.sbin/ppp/throughput.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/throughput.h b/usr.sbin/ppp/throughput.h
index 44f2f88689c0..95d553998106 100644
--- a/usr.sbin/ppp/throughput.h
+++ b/usr.sbin/ppp/throughput.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: throughput.h,v 1.2.4.1 1998/02/10 03:23:48 brian Exp $
+ * $Id: throughput.h,v 1.2.4.2 1998/04/03 19:21:53 brian Exp $
*/
#define SAMPLE_PERIOD 5
@@ -40,7 +40,7 @@ struct pppThroughput {
};
extern void throughput_init(struct pppThroughput *);
-extern void throughput_disp(struct pppThroughput *);
+extern void throughput_disp(struct pppThroughput *, struct prompt *);
extern void throughput_log(struct pppThroughput *, int, const char *);
extern void throughput_start(struct pppThroughput *, const char *);
extern void throughput_stop(struct pppThroughput *);