Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
44beace1
Commit
44beace1
authored
May 13, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
May 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlapi: Mark internal symbols with hidden visibility.
parent
3d6e7a4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
ifenum.h
dlls/iphlpapi/ifenum.h
+15
-15
ipstats.h
dlls/iphlpapi/ipstats.h
+5
-5
No files found.
dlls/iphlpapi/ifenum.h
View file @
44beace1
...
...
@@ -44,9 +44,9 @@
#define MAX_INTERFACE_PHYSADDR 8
#define MAX_INTERFACE_DESCRIPTION 256
DWORD
getNumInterfaces
(
void
);
DWORD
getNumNonLoopbackInterfaces
(
void
);
BOOL
isIfIndexLoopback
(
ULONG
idx
);
DWORD
getNumInterfaces
(
void
)
DECLSPEC_HIDDEN
;
DWORD
getNumNonLoopbackInterfaces
(
void
)
DECLSPEC_HIDDEN
;
BOOL
isIfIndexLoopback
(
ULONG
idx
)
DECLSPEC_HIDDEN
;
/* A table of interface indexes, see get*InterfaceTable(). */
typedef
struct
_InterfaceIndexTable
{
...
...
@@ -57,10 +57,10 @@ typedef struct _InterfaceIndexTable {
/* Returns a table with all known interface indexes, or NULL if one could not
* be allocated. HeapFree() the returned table.
*/
InterfaceIndexTable
*
getInterfaceIndexTable
(
void
);
InterfaceIndexTable
*
getInterfaceIndexTable
(
void
)
DECLSPEC_HIDDEN
;
/* Like getInterfaceIndexTable, but filters out loopback interfaces. */
InterfaceIndexTable
*
getNonLoopbackInterfaceIndexTable
(
void
);
InterfaceIndexTable
*
getNonLoopbackInterfaceIndexTable
(
void
)
DECLSPEC_HIDDEN
;
/* ByName/ByIndex versions of various getter functions. */
...
...
@@ -68,13 +68,13 @@ InterfaceIndexTable *getNonLoopbackInterfaceIndexTable(void);
* if not. Overwrites your buffer, which should be at least of size
* MAX_ADAPTER_NAME.
*/
char
*
getInterfaceNameByIndex
(
DWORD
index
,
char
*
name
);
char
*
getInterfaceNameByIndex
(
DWORD
index
,
char
*
name
)
DECLSPEC_HIDDEN
;
/* Fills index with the index of name, if found. Returns
* ERROR_INVALID_PARAMETER if name or index is NULL, ERROR_INVALID_DATA if name
* is not found, and NO_ERROR on success.
*/
DWORD
getInterfaceIndexByName
(
const
char
*
name
,
PDWORD
index
);
DWORD
getInterfaceIndexByName
(
const
char
*
name
,
PDWORD
index
)
DECLSPEC_HIDDEN
;
/* Gets a few physical characteristics of a device: MAC addr len, MAC addr,
* and type as one of the MIB_IF_TYPEs.
...
...
@@ -90,35 +90,35 @@ DWORD getInterfaceIndexByName(const char *name, PDWORD index);
* Returns NO_ERROR on success.
*/
DWORD
getInterfacePhysicalByIndex
(
DWORD
index
,
PDWORD
len
,
PBYTE
addr
,
PDWORD
type
);
PDWORD
type
)
DECLSPEC_HIDDEN
;
/* Fills in the MIB_IFROW by name. Doesn't fill in interface statistics,
* see ipstats.h for that.
* Returns ERROR_INVALID_PARAMETER if name is NULL, ERROR_INVALID_DATA
* if name isn't valid, and NO_ERROR otherwise.
*/
DWORD
getInterfaceEntryByName
(
const
char
*
name
,
PMIB_IFROW
entry
);
DWORD
getInterfaceEntryByName
(
const
char
*
name
,
PMIB_IFROW
entry
)
DECLSPEC_HIDDEN
;
DWORD
getNumIPAddresses
(
void
);
DWORD
getNumIPAddresses
(
void
)
DECLSPEC_HIDDEN
;
/* Gets the configured IP addresses for the system, and sets *ppIpAddrTable to
* a table of them allocated from heap, or NULL if out of memory. Returns
* NO_ERROR on success, something else on failure. Note there may be more than
* one IP address may exist per interface.
*/
DWORD
getIPAddrTable
(
PMIB_IPADDRTABLE
*
ppIpAddrTable
,
HANDLE
heap
,
DWORD
flags
);
DWORD
getIPAddrTable
(
PMIB_IPADDRTABLE
*
ppIpAddrTable
,
HANDLE
heap
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
/* Returns the IPv6 addresses for a particular interface index.
* Returns NO_ERROR on success, something else on failure.
*/
ULONG
v6addressesFromIndex
(
DWORD
index
,
SOCKET_ADDRESS
**
addrs
,
ULONG
*
num_addrs
);
ULONG
v6addressesFromIndex
(
DWORD
index
,
SOCKET_ADDRESS
**
addrs
,
ULONG
*
num_addrs
)
DECLSPEC_HIDDEN
;
/* Converts the network-order bytes in addr to a printable string. Returns
* string.
*/
char
*
toIPAddressString
(
unsigned
int
addr
,
char
string
[
16
]);
char
*
toIPAddressString
(
unsigned
int
addr
,
char
string
[
16
])
DECLSPEC_HIDDEN
;
DWORD
getInterfaceMtuByName
(
const
char
*
name
,
PDWORD
mtu
);
DWORD
getInterfaceStatusByName
(
const
char
*
name
,
PDWORD
status
);
DWORD
getInterfaceMtuByName
(
const
char
*
name
,
PDWORD
mtu
)
DECLSPEC_HIDDEN
;
DWORD
getInterfaceStatusByName
(
const
char
*
name
,
PDWORD
status
)
DECLSPEC_HIDDEN
;
#endif
/* ndef WINE_IFENUM_H_ */
dlls/iphlpapi/ipstats.h
View file @
44beace1
...
...
@@ -30,11 +30,11 @@
/* Fills in entry's interface stats, using name to find them.
* Returns ERROR_INVALID_PARAMETER if name or entry is NULL, NO_ERROR otherwise.
*/
DWORD
getInterfaceStatsByName
(
const
char
*
name
,
PMIB_IFROW
entry
);
DWORD
getInterfaceStatsByName
(
const
char
*
name
,
PMIB_IFROW
entry
)
DECLSPEC_HIDDEN
;
DWORD
WINAPI
AllocateAndGetUdpTableFromStack
(
PMIB_UDPTABLE
*
ppUdpTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
);
DWORD
WINAPI
AllocateAndGetTcpTableFromStack
(
PMIB_TCPTABLE
*
ppTcpTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
);
DWORD
WINAPI
AllocateAndGetIpNetTableFromStack
(
PMIB_IPNETTABLE
*
ppIpNetTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
);
DWORD
WINAPI
AllocateAndGetIpForwardTableFromStack
(
PMIB_IPFORWARDTABLE
*
ppIpForwardTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
);
DWORD
WINAPI
AllocateAndGetUdpTableFromStack
(
PMIB_UDPTABLE
*
ppUdpTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
DWORD
WINAPI
AllocateAndGetTcpTableFromStack
(
PMIB_TCPTABLE
*
ppTcpTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
DWORD
WINAPI
AllocateAndGetIpNetTableFromStack
(
PMIB_IPNETTABLE
*
ppIpNetTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
DWORD
WINAPI
AllocateAndGetIpForwardTableFromStack
(
PMIB_IPFORWARDTABLE
*
ppIpForwardTable
,
BOOL
bOrder
,
HANDLE
heap
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
#endif
/* ndef WINE_IPSTATS_H_ */
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