Add a ``const'' and remove some inconsistent prototype args.
This commit is contained in:
parent
459145cd19
commit
f046bc6b79
@ -7,7 +7,7 @@
|
||||
This software is placed into the public domain with no restrictions
|
||||
on its distribution.
|
||||
|
||||
$Id: alias.h,v 1.8 1998/04/19 21:42:05 brian Exp $
|
||||
$Id: alias.h,v 1.9 1999/02/27 02:16:01 brian Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -88,7 +88,7 @@ struct alias_link;
|
||||
|
||||
/* Transparent Proxying */
|
||||
extern int
|
||||
PacketAliasProxyRule(char *);
|
||||
PacketAliasProxyRule(const char *);
|
||||
|
||||
|
||||
/********************** Mode flags ********************/
|
||||
|
@ -144,7 +144,7 @@ void HouseKeeping(void);
|
||||
void AliasHandleFtpOut(struct ip *, struct alias_link *, int);
|
||||
|
||||
/* IRC routines */
|
||||
void AliasHandleIrcOut(struct ip *pip, struct alias_link *link, int maxsize );
|
||||
void AliasHandleIrcOut(struct ip *, struct alias_link *, int);
|
||||
|
||||
/* NetBIOS routines */
|
||||
int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short);
|
||||
|
@ -487,7 +487,7 @@ ProxyModify(struct alias_link *link,
|
||||
*/
|
||||
|
||||
int
|
||||
PacketAliasProxyRule(char *cmd)
|
||||
PacketAliasProxyRule(const char *cmd)
|
||||
{
|
||||
/*
|
||||
* This function takes command strings of the form:
|
||||
|
@ -7,7 +7,7 @@
|
||||
This software is placed into the public domain with no restrictions
|
||||
on its distribution.
|
||||
|
||||
$Id: alias.h,v 1.8 1998/04/19 21:42:05 brian Exp $
|
||||
$Id: alias.h,v 1.9 1999/02/27 02:16:01 brian Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -88,7 +88,7 @@ struct alias_link;
|
||||
|
||||
/* Transparent Proxying */
|
||||
extern int
|
||||
PacketAliasProxyRule(char *);
|
||||
PacketAliasProxyRule(const char *);
|
||||
|
||||
|
||||
/********************** Mode flags ********************/
|
||||
|
@ -144,7 +144,7 @@ void HouseKeeping(void);
|
||||
void AliasHandleFtpOut(struct ip *, struct alias_link *, int);
|
||||
|
||||
/* IRC routines */
|
||||
void AliasHandleIrcOut(struct ip *pip, struct alias_link *link, int maxsize );
|
||||
void AliasHandleIrcOut(struct ip *, struct alias_link *, int);
|
||||
|
||||
/* NetBIOS routines */
|
||||
int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short);
|
||||
|
@ -487,7 +487,7 @@ ProxyModify(struct alias_link *link,
|
||||
*/
|
||||
|
||||
int
|
||||
PacketAliasProxyRule(char *cmd)
|
||||
PacketAliasProxyRule(const char *cmd)
|
||||
{
|
||||
/*
|
||||
* This function takes command strings of the form:
|
||||
|
Loading…
x
Reference in New Issue
Block a user