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
e2eaface
Commit
e2eaface
authored
Feb 05, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Remove unused functions.
parent
c0ad988e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
34 deletions
+0
-34
nbnamecache.c
dlls/netapi32/nbnamecache.c
+0
-25
nbnamecache.h
dlls/netapi32/nbnamecache.h
+0
-9
No files found.
dlls/netapi32/nbnamecache.c
View file @
e2eaface
...
...
@@ -176,31 +176,6 @@ const NBNameCacheEntry *NBNameCacheFindEntry(struct NBNameCache *cache,
return
ret
;
}
BOOL
NBNameCacheUpdateNBName
(
struct
NBNameCache
*
cache
,
const
UCHAR
name
[
NCBNAMSZ
],
const
UCHAR
nbname
[
NCBNAMSZ
])
{
BOOL
ret
;
if
(
cache
)
{
NBNameCacheNode
**
node
;
EnterCriticalSection
(
&
cache
->
cs
);
node
=
NBNameCacheWalk
(
cache
,
(
const
char
*
)
name
);
if
(
node
&&
*
node
&&
(
*
node
)
->
entry
)
{
memcpy
((
*
node
)
->
entry
->
nbname
,
nbname
,
NCBNAMSZ
);
ret
=
TRUE
;
}
else
ret
=
FALSE
;
LeaveCriticalSection
(
&
cache
->
cs
);
}
else
ret
=
FALSE
;
return
ret
;
}
void
NBNameCacheDestroy
(
struct
NBNameCache
*
cache
)
{
if
(
cache
)
...
...
dlls/netapi32/nbnamecache.h
View file @
e2eaface
...
...
@@ -68,15 +68,6 @@ BOOL NBNameCacheAddEntry(struct NBNameCache *cache, NBNameCacheEntry *entry);
const
NBNameCacheEntry
*
NBNameCacheFindEntry
(
struct
NBNameCache
*
cache
,
const
UCHAR
name
[
NCBNAMSZ
]);
/* If the entry with name name is in the cache, updates its nbname member to
* nbname. The entry's expire time is implicitly updated to entryExpireTimeMS
* + the current time in MS, since getting the NetBIOS name meant validating
* the name and address anyway.
* Returns TRUE on success or FALSE on failure.
*/
BOOL
NBNameCacheUpdateNBName
(
struct
NBNameCache
*
cache
,
const
UCHAR
name
[
NCBNAMSZ
],
const
UCHAR
nbname
[
NCBNAMSZ
]);
void
NBNameCacheDestroy
(
struct
NBNameCache
*
cache
);
#endif
/* ndef __WINE_NBNAMECACHE_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