1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Remove duplicate CIDR funcs by using coerce entries.

This commit is contained in:
Bruce Momjian
1998-10-22 13:51:07 +00:00
parent 9ac0c1e371
commit ca2995be7b
8 changed files with 50 additions and 94 deletions

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: builtins.h,v 1.66 1998/10/22 13:16:27 momjian Exp $
* $Id: builtins.h,v 1.67 1998/10/22 13:51:07 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
@ -533,16 +533,10 @@ bool inet_sup(inet * a1, inet * a2);
bool inet_supeq(inet * a1, inet * a2);
int4 inet_cmp(inet * a1, inet * a2);
text *inet_netmask(inet * addr);
int4 inet_netmasklen(inet * addr);
text *inet_broadcast(inet * addr);
text *inet_host(inet * addr);
text *cidr_netmask(inet * addr);
int4 cidr_netmasklen(inet * addr);
text *cidr_broadcast(inet * addr);
text *cidr_host(inet * addr);
text *netmask(inet * addr);
int4 masklen(inet * addr);
text *broadcast(inet * addr);
text *host(inet * addr);
/* mac.c */
macaddr *macaddr_in(char *str);