Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
709a0a46
Commit
709a0a46
authored
May 20, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Jun 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetmib1: Add a mechanism for initializing supported OIDs, and use it in SnmpExtensionInit.
parent
50f4bd16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
main.c
dlls/inetmib1/main.c
+14
-1
No files found.
dlls/inetmib1/main.c
View file @
709a0a46
...
@@ -50,14 +50,27 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
...
@@ -50,14 +50,27 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
static
UINT
mib2
[]
=
{
1
,
3
,
6
,
1
,
2
,
1
};
static
UINT
mib2
[]
=
{
1
,
3
,
6
,
1
,
2
,
1
};
static
UINT
mib2System
[]
=
{
1
,
3
,
6
,
1
,
2
,
1
,
1
};
static
UINT
mib2System
[]
=
{
1
,
3
,
6
,
1
,
2
,
1
,
1
};
struct
mibImplementation
{
AsnObjectIdentifier
name
;
void
(
*
init
)(
void
);
};
static
struct
mibImplementation
supportedIDs
[]
=
{
};
BOOL
WINAPI
SnmpExtensionInit
(
DWORD
dwUptimeReference
,
BOOL
WINAPI
SnmpExtensionInit
(
DWORD
dwUptimeReference
,
HANDLE
*
phSubagentTrapEvent
,
AsnObjectIdentifier
*
pFirstSupportedRegion
)
HANDLE
*
phSubagentTrapEvent
,
AsnObjectIdentifier
*
pFirstSupportedRegion
)
{
{
AsnObjectIdentifier
myOid
=
DEFINE_OID
(
mib2System
);
AsnObjectIdentifier
myOid
=
DEFINE_OID
(
mib2System
);
UINT
i
;
FIXME
(
"(%d, %p, %p): stub
\n
"
,
dwUptimeReference
,
phSubagentTrapEvent
,
TRACE
(
"(%d, %p, %p)
\n
"
,
dwUptimeReference
,
phSubagentTrapEvent
,
pFirstSupportedRegion
);
pFirstSupportedRegion
);
for
(
i
=
0
;
i
<
sizeof
(
supportedIDs
)
/
sizeof
(
supportedIDs
[
0
]);
i
++
)
if
(
supportedIDs
[
i
].
init
)
supportedIDs
[
i
].
init
();
*
phSubagentTrapEvent
=
NULL
;
*
phSubagentTrapEvent
=
NULL
;
SnmpUtilOidCpy
(
pFirstSupportedRegion
,
&
myOid
);
SnmpUtilOidCpy
(
pFirstSupportedRegion
,
&
myOid
);
return
TRUE
;
return
TRUE
;
...
...
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