Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f5a21920
Commit
f5a21920
authored
Oct 04, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove u_int32_t
parent
3f8bc47d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/utils/adt/ip.c
src/backend/utils/adt/ip.c
+2
-2
src/include/utils/builtins.h
src/include/utils/builtins.h
+2
-2
src/include/utils/mac.h
src/include/utils/mac.h
+2
-2
No files found.
src/backend/utils/adt/ip.c
View file @
f5a21920
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* is for IP V4 CIDR notation, but prepared for V6: just
* is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate.
* add the necessary bits where the comments indicate.
*
*
* $Id: ip.c,v 1.
1 1998/10/03 05:40:49
momjian Exp $
* $Id: ip.c,v 1.
2 1998/10/04 15:31:06
momjian Exp $
*/
*/
#include <sys/types.h>
#include <sys/types.h>
...
@@ -266,7 +266,7 @@ ipaddr_cmp(ipaddr *a1, ipaddr *a2)
...
@@ -266,7 +266,7 @@ ipaddr_cmp(ipaddr *a1, ipaddr *a2)
*/
*/
int
int
v4bitncmp
(
u
_int32_t
a1
,
u_int32_
t
a2
,
int
bits
)
v4bitncmp
(
u
nsigned
int
a1
,
unsigned
in
t
a2
,
int
bits
)
{
{
unsigned
long
mask
=
0
;
unsigned
long
mask
=
0
;
int
i
;
int
i
;
...
...
src/include/utils/builtins.h
View file @
f5a21920
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: builtins.h,v 1.5
6 1998/10/03 05:40:59
momjian Exp $
* $Id: builtins.h,v 1.5
7 1998/10/04 15:31:07
momjian Exp $
*
*
* NOTES
* NOTES
* This should normally only be included by fmgr.h.
* This should normally only be included by fmgr.h.
...
@@ -532,7 +532,7 @@ bool ipaddr_subeq(ipaddr * a1, ipaddr * a2);
...
@@ -532,7 +532,7 @@ bool ipaddr_subeq(ipaddr * a1, ipaddr * a2);
bool
ipaddr_sup
(
ipaddr
*
a1
,
ipaddr
*
a2
);
bool
ipaddr_sup
(
ipaddr
*
a1
,
ipaddr
*
a2
);
bool
ipaddr_supeq
(
ipaddr
*
a1
,
ipaddr
*
a2
);
bool
ipaddr_supeq
(
ipaddr
*
a1
,
ipaddr
*
a2
);
int4
ipaddr_cmp
(
ipaddr
*
a1
,
ipaddr
*
a2
);
int4
ipaddr_cmp
(
ipaddr
*
a1
,
ipaddr
*
a2
);
int
v4bitncmp
(
u
_int32_t
a1
,
u_int32_
t
a2
,
int
bits
);
int
v4bitncmp
(
u
nsigned
int
a1
,
unsigned
in
t
a2
,
int
bits
);
/* mac.c */
/* mac.c */
...
...
src/include/utils/mac.h
View file @
f5a21920
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: mac.h,v 1.
1 1998/10/03 05:41:01
momjian Exp $
* $Id: mac.h,v 1.
2 1998/10/04 15:31:09
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -23,7 +23,7 @@ typedef struct
...
@@ -23,7 +23,7 @@ typedef struct
unsigned
char
bits
;
unsigned
char
bits
;
union
union
{
{
u
_int32_
t
ipv4_addr
;
/* network byte order */
u
nsigned
in
t
ipv4_addr
;
/* network byte order */
/* add IPV6 address type here */
/* add IPV6 address type here */
}
addr
;
}
addr
;
}
ipaddr_struct
;
}
ipaddr_struct
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment