Cosmetic:
Move prototypes into the correct headers.
This commit is contained in:
parent
fe3e6985a7
commit
6eaa6ac5d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30733
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: chap.h,v 1.7 1997/09/17 23:17:50 brian Exp $
|
||||
* $Id: chap.h,v 1.8 1997/10/26 01:02:19 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -26,3 +26,5 @@
|
||||
#define CHAP_FAILURE 4
|
||||
|
||||
extern struct authinfo AuthChapInfo;
|
||||
|
||||
extern void ChapInput(struct mbuf *);
|
||||
|
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: command.c,v 1.87 1997/10/24 22:36:28 brian Exp $
|
||||
* $Id: command.c,v 1.88 1997/10/26 01:02:26 brian Exp $
|
||||
*
|
||||
*/
|
||||
#include <sys/param.h>
|
||||
@ -65,6 +65,7 @@
|
||||
#include "main.h"
|
||||
#include "route.h"
|
||||
#include "ccp.h"
|
||||
#include "ip.h"
|
||||
#include "slcompress.h"
|
||||
|
||||
struct in_addr ifnetmask;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: defs.h,v 1.21 1997/10/24 22:36:29 brian Exp $
|
||||
* $Id: defs.h,v 1.22 1997/10/26 01:02:33 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -83,9 +83,4 @@ extern int tun_out;
|
||||
extern int netfd;
|
||||
extern char *dstsystem;
|
||||
|
||||
#ifdef SIGALRM
|
||||
extern u_int nointr_sleep(u_int);
|
||||
extern void nointr_usleep(u_int);
|
||||
#endif
|
||||
|
||||
extern void randinit(void);
|
||||
|
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: hdlc.c,v 1.19 1997/09/10 21:36:54 brian Exp $
|
||||
* $Id: hdlc.c,v 1.20 1997/10/26 01:02:43 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -35,6 +35,11 @@
|
||||
#include "fsm.h"
|
||||
#include "hdlc.h"
|
||||
#include "lcpproto.h"
|
||||
#include "ipcp.h"
|
||||
#include "ip.h"
|
||||
#include "vjcomp.h"
|
||||
#include "pap.h"
|
||||
#include "chap.h"
|
||||
#include "lcp.h"
|
||||
#include "lqr.h"
|
||||
#include "loadalias.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: ip.c,v 1.25 1997/10/04 00:14:39 brian Exp $
|
||||
* $Id: ip.c,v 1.26 1997/10/26 01:02:52 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
* o Return ICMP message for filterd packet
|
||||
@ -37,6 +37,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "mbuf.h"
|
||||
@ -55,6 +56,7 @@
|
||||
#include "ipcp.h"
|
||||
#include "vjcomp.h"
|
||||
#include "lcp.h"
|
||||
#include "modem.h"
|
||||
#include "ip.h"
|
||||
|
||||
static struct pppTimer IdleTimer;
|
||||
|
@ -17,10 +17,14 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: ip.h,v 1.5 1997/08/25 00:29:14 brian Exp $
|
||||
* $Id: ip.h,v 1.6 1997/10/26 01:02:53 brian Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
extern void IpStartOutput(void);
|
||||
extern int PacketCheck(char *, int, int);
|
||||
extern void IpEnqueue(int, char *, int);
|
||||
extern void IpInput(struct mbuf *);
|
||||
extern void StartIdleTimer(void);
|
||||
extern void StopIdleTimer(void);
|
||||
extern void UpdateIdleTimer(void);
|
||||
|
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: ipcp.c,v 1.30 1997/10/17 00:20:30 brian Exp $
|
||||
* $Id: ipcp.c,v 1.31 1997/10/26 01:02:54 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
* o More RFC1772 backwoard compatibility
|
||||
@ -50,6 +50,7 @@
|
||||
#include "command.h"
|
||||
#include "vars.h"
|
||||
#include "vjcomp.h"
|
||||
#include "ip.h"
|
||||
|
||||
#ifndef NOMSEXT
|
||||
struct in_addr ns_entries[2];
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: ipcp.h,v 1.10 1997/09/03 02:08:19 brian Exp $
|
||||
* $Id: ipcp.h,v 1.11 1997/10/26 01:02:55 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -75,3 +75,4 @@ extern void IpcpDefAddress(void);
|
||||
extern void IpcpUp(void);
|
||||
extern void IpcpOpen(void);
|
||||
extern int ReportIpcpStatus(void);
|
||||
extern void IpcpInput(struct mbuf *);
|
||||
|
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: lcp.c,v 1.39 1997/10/15 01:01:17 brian Exp $
|
||||
* $Id: lcp.c,v 1.40 1997/10/26 01:02:57 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
* o Validate magic number received from peer.
|
||||
@ -56,6 +56,7 @@
|
||||
#include "chap.h"
|
||||
#include "async.h"
|
||||
#include "main.h"
|
||||
#include "ip.h"
|
||||
#include "modem.h"
|
||||
|
||||
struct lcpstate LcpInfo;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: lcp.h,v 1.8 1997/08/25 00:29:15 brian Exp $
|
||||
* $Id: lcp.h,v 1.9 1997/10/26 01:02:58 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -80,3 +80,4 @@ extern void LcpClose(void);
|
||||
extern void LcpDown(void);
|
||||
extern void PutConfValue(u_char **, char **, u_char, int, u_long);
|
||||
extern int ReportLcpStatus(void);
|
||||
extern void LcpInput(struct mbuf *);
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: lcpproto.h,v 1.8 1997/08/25 00:29:16 brian Exp $
|
||||
* $Id: lcpproto.h,v 1.9 1997/10/26 01:02:59 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -37,12 +37,3 @@
|
||||
#define PROTO_PAP 0xc023
|
||||
#define PROTO_LQR 0xc025
|
||||
#define PROTO_CHAP 0xc223
|
||||
|
||||
extern void LcpInput(struct mbuf *);
|
||||
extern void PapInput(struct mbuf *);
|
||||
extern void LqpInput(struct mbuf *);
|
||||
extern void ChapInput(struct mbuf *);
|
||||
extern void IpInput(struct mbuf *);
|
||||
extern struct mbuf *VjCompInput(struct mbuf *, int);
|
||||
extern void IpcpInput(struct mbuf *);
|
||||
extern void LqrInput(struct mbuf *);
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: lqr.h,v 1.7 1997/08/25 00:29:19 brian Exp $
|
||||
* $Id: lqr.h,v 1.8 1997/10/26 01:03:10 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -61,3 +61,4 @@ extern void StartLqm(void);
|
||||
extern void StopLqr(int);
|
||||
extern void StopLqrTimer(void);
|
||||
extern void RecvEchoLqr(struct mbuf *);
|
||||
extern void LqrInput(struct mbuf *);
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: mbuf.h,v 1.6 1997/08/25 00:29:20 brian Exp $
|
||||
* $Id: mbuf.h,v 1.7 1997/10/26 01:03:18 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -59,7 +59,5 @@ extern void pfree(struct mbuf *);
|
||||
extern void mbwrite(struct mbuf *, u_char *, int);
|
||||
extern struct mbuf *mbread(struct mbuf *, u_char *, int);
|
||||
extern void DumpBp(struct mbuf *);
|
||||
extern void Enqueue(struct mqueue *, struct mbuf *);
|
||||
extern struct mbuf *Dequeue(struct mqueue *);
|
||||
extern void LogMemory(void);
|
||||
extern int ShowMemMap(void);
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: modem.h,v 1.9 1997/08/25 00:29:23 brian Exp $
|
||||
* $Id: modem.h,v 1.10 1997/10/26 01:03:25 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -37,3 +37,5 @@ extern void ModemOutput(int, struct mbuf *);
|
||||
extern int ChangeParity(char *);
|
||||
extern void HangupModem(int);
|
||||
extern int ShowModemStatus(void);
|
||||
extern void Enqueue(struct mqueue *, struct mbuf *);
|
||||
extern struct mbuf *Dequeue(struct mqueue *);
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: pap.h,v 1.3 1997/02/22 16:10:41 peter Exp $
|
||||
* $Id: pap.h,v 1.4 1997/10/26 01:03:29 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -25,3 +25,5 @@
|
||||
#define PAP_NAK 3
|
||||
|
||||
extern struct authinfo AuthPapInfo;
|
||||
|
||||
extern void PapInput(struct mbuf *);
|
||||
|
@ -15,7 +15,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: timeout.h,v 1.12 1997/09/03 00:40:51 brian Exp $
|
||||
* $Id: timer.h,v 1.1 1997/10/26 01:03:53 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -43,7 +43,9 @@ extern void StartTimer(struct pppTimer *);
|
||||
extern void StopTimer(struct pppTimer *);
|
||||
extern void TimerService(void);
|
||||
extern void TermTimerService(void);
|
||||
extern void StartIdleTimer(void);
|
||||
extern void StopIdleTimer(void);
|
||||
extern void UpdateIdleTimer(void);
|
||||
extern void ShowTimers(void);
|
||||
|
||||
#ifdef SIGALRM
|
||||
extern u_int nointr_sleep(u_int);
|
||||
extern void nointr_usleep(u_int);
|
||||
#endif
|
||||
|
@ -1,6 +1,7 @@
|
||||
/*
|
||||
* $Id: $
|
||||
* $Id: vjcomp.h,v 1.1 1997/10/26 01:04:02 brian Exp $
|
||||
*/
|
||||
|
||||
extern void VjInit(int);
|
||||
extern void SendPppFrame(struct mbuf *);
|
||||
extern struct mbuf *VjCompInput(struct mbuf *, int);
|
||||
|
Loading…
Reference in New Issue
Block a user