summaryrefslogtreecommitdiff
path: root/examples/snmp_api.h
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@users.noreply.github.com>2018-12-23 21:30:40 -0600
committerGitHub <noreply@github.com>2018-12-23 21:30:40 -0600
commit4fba64a079016e6ea62d041f19b7eadd081341e8 (patch)
tree6c5fdae41cf8b335ff1c64f37856786523e4fd0d /examples/snmp_api.h
parent59dfd314c23fd653271bdad37631f0497e8ad748 (diff)
parentde8326d00dffdb500c02839a98330b869c2457f3 (diff)
downloadpyparsing-git-4fba64a079016e6ea62d041f19b7eadd081341e8.tar.gz
Merge pull request #55 from jdufresne/ws
Trim trailing white space throughout the project
Diffstat (limited to 'examples/snmp_api.h')
-rw-r--r--examples/snmp_api.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/snmp_api.h b/examples/snmp_api.h
index d75cb12..fc802d1 100644
--- a/examples/snmp_api.h
+++ b/examples/snmp_api.h
@@ -13,10 +13,10 @@
#ifndef DONT_SHARE_ERROR_WITH_OTHER_THREADS
#define SET_SNMP_ERROR(x) snmp_errno=(x)
#else
-#define SET_SNMP_ERROR(x)
+#define SET_SNMP_ERROR(x)
#endif
-
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -109,7 +109,7 @@ struct snmp_pdu {
long version;
int command; /* Type of this PDU */
long reqid; /* Request id - note: not incremented on retries */
- long msgid; /* Message id for V3 messages
+ long msgid; /* Message id for V3 messages
* note: incremented for each retry */
long transid; /* Unique ID for incoming transactions */
long sessid; /* Session id for AgentX messages */
@@ -291,7 +291,7 @@ extern void snmp_set_detail (const char *);
#define REPORT_usmStatsUnsupportedSecLevels_NUM 1
#define REPORT_usmStatsNotInTimeWindows_NUM 2
#define REPORT_usmStatsUnknownUserNames_NUM 3
-#define REPORT_usmStatsUnknownEngineIDs_NUM 4
+#define REPORT_usmStatsUnknownEngineIDs_NUM 4
#define REPORT_usmStatsWrongDigests_NUM 5
#define REPORT_usmStatsDecryptionErrors_NUM 6
@@ -478,7 +478,7 @@ int snmp_send (struct snmp_session *, struct snmp_pdu *);
* On any error, 0 is returned.
* The pdu is freed by snmp_send() unless a failure occured.
*/
-int snmp_async_send (struct snmp_session *, struct snmp_pdu *,
+int snmp_async_send (struct snmp_session *, struct snmp_pdu *,
snmp_callback, void *);