Defines | |
| #define | MQ_ERROR_S msgque->error |
Functions | |
| void | usage (SnmpCtxSP) |
| print usage message to stdout | |
| MqErrorE | Ot_INIT (MqSP, void *) |
| service that creates a snmp session | |
| MqErrorE | Ot_CLOS (MqSP, void *) |
| service that closes a snmp session | |
| MqErrorE | Ot_BGET (MqSP, void *) |
service that uses the SNMP GETBULK request to query a network entity efficiently for information. | |
| MqErrorE | Ot_GETO (MqSP, void *) |
service that uses the SNMP GET request to query for information on a network entity | |
| MqErrorE | Ot_WALK (MqSP, void *) |
service that uses SNMP GETNEXT requests to query a network entity for a tree of information | |
| MqErrorE | Ot_BWLK (MqSP, void *) |
service that uses SNMP GETBULK requests to query a network entity efficiently for a tree of information | |
| MqErrorE | Ot_SOPU (MqSP, void *) |
| service that toggles output options | |
| MqErrorE | Ot_TEST (MqSP, void *) |
| service for testing purpose | |
| MqErrorE | Ot_TREE (MqSP, void *) |
| service that query a network entity for a OID tree | |
| MqErrorE | ContextCreate (MqBufferLS *const argv, SnmpCtxSP *out) |
| create a context | |
| void | ContextDelete (SnmpCtxSP *contextP) |
| delete a SnmpCtxS object | |
|
|
|
|
||||||||||||
|
create a context
Definition at line 708 of file context.c. References ContextCreate(), ContextDelete(), ContextSP, MQ_ERROR_PROC_FMT, MqBufferCreate(), MqBufferLAppendHP(), MqCreate(), MqErrorCheck, MqErrorSAppendV(), MqServiceCreate(), MqSysCalloc(), Ot_INIT(), and Ot_TEST(). Referenced by ContextCreate(), and main(). |
|
|
delete a SnmpCtxS object
Definition at line 741 of file context.c. References MQ_PTR, MqBufferDelete(), MqDelete(), and MqSysFree(). Referenced by ContextCreate(), and main(). |
|
||||||||||||
|
service that uses the
Definition at line 298 of file context.c. References ApiGetOidAndSend(), BGET_LEN, MQ_ERROR_PROC_FMT, MQ_ERROR_S, MQ_PTR, MqErrorCheck, MqOptDefault(), MqOptGet(), MqSend_RET_OK(), MqSendEND_RETR(), MqSendRETURN(), MqSendSP, MqSendSTART(), MqSP, MqSysFree(), and MqS::send. Referenced by Ot_INIT(). |
|
||||||||||||
|
service that uses
Definition at line 454 of file context.c. References ApiWalkOidAndSend(), BWLK_LEN, MQ_ERROR_PROC_FMT, MQ_ERROR_S, MQ_PTR, MqErrorCheck, MqOptDefault(), MqOptGet(), MqSend_RET_OK(), MqSendEND_RETR(), MqSendRETURN(), MqSendSP, MqSendSTART(), MqSP, MqSysFree(), and MqS::send. Referenced by Ot_INIT(). |
|
||||||||||||
|
service that closes a snmp session
Definition at line 242 of file context.c. References ErrorSnmp(), MQ_ERROR_PROC_FMT, MQ_ERROR_S, MqErrorCheck, MqErrorReset(), MqSendRETURN(), MqServiceCreate(), MqServiceDelete(), MqSP, MqS::myCtx, Ot_INIT(), and Ot_TEST(). Referenced by Ot_INIT(). |
|
||||||||||||
|
service that uses the
Definition at line 347 of file context.c. References ApiGetOidAndSend(), GETO_LEN, MQ_ERROR_PROC_FMT, MQ_ERROR_S, MQ_PTR, MqErrorCheck, MqOptDefault(), MqOptGet(), MqSend_RET_OK(), MqSendEND_RETR(), MqSendRETURN(), MqSendSP, MqSendSTART(), MqSP, MqSysFree(), and MqS::send. Referenced by Ot_INIT(). |
|
||||||||||||
|
service that creates a snmp session
Definition at line 172 of file context.c. References MQ_ERROR_PROC_FMT, MQ_ERROR_S, MqErrorC, MqErrorCheck, MqErrorReset(), MqReadArgv(), MqSendRETURN(), MqServiceCreate(), MqServiceDelete(), MqSP, MqS::myCtx, Ot_BGET(), Ot_BWLK(), Ot_CLOS(), Ot_GETO(), Ot_SOPU(), Ot_TREE(), Ot_WALK(), MqS::read, and usage(). Referenced by ContextCreate(), and Ot_CLOS(). |
|
||||||||||||
|
service that toggles output options
Definition at line 520 of file context.c. References MqBufferU::C, MqBufferS::cur, MQ_ERROR_PROC_FMT, MQ_ERROR_S, MqBufferSP, MqErrorCheck, MqErrorReset(), MqErrorV, MqReadU(), MqSendRETURN(), MqSendSP, MqSP, MqS::read, and MqS::send. Referenced by Ot_INIT(). |
|
||||||||||||
|
service for testing purpose space for add/test new features
Definition at line 560 of file context.c. References MqOptionU::B, MqOptionU::I, MQ_ERROR_PROC_FMT, MQ_ERROR_S, MQ_INT4, MQ_PTR, MqErrorCheck, MqOptDefault(), MqOptGet(), MqSend4(), MqSend_RET_END(), MqSend_RET_OK(), MqSend_RET_START(), MqSendC(), MqSendEND_RETR(), MqSendH4(), MqSendRETURN(), MqSendSP, MqSendSTART(), MqSP, MqSysFree(), MqS::send, and TEST_LEN. Referenced by ContextCreate(), and Ot_CLOS(). |
|
||||||||||||
|
service that query a network entity for a OID tree
Definition at line 640 of file context.c. References MqBufferU::C, MqBufferS::cur, ErrorSnmp(), MQ_ERROR_PROC_FMT, MQ_ERROR_S, MQ_PTR, MqBufferInitFromString, MqBufferSP, MqErrorCheck, MqOptDefault(), MqOptGet(), MqReadGetNumItems(), MqReadSP, MqReadU(), MqSend_RET_OK(), MqSendEND_RETR(), MqSendRETURN(), MqSendSP, MqSendSTART(), MqSP, MqSysFree(), MqS::myCtx, MqS::read, MqS::send, SendSubtree(), and TREE_LEN. Referenced by Ot_INIT(). |
|
||||||||||||
|
service that uses
Definition at line 398 of file context.c. References ApiWalkOidAndSend(), MQ_ERROR_PROC_FMT, MQ_ERROR_S, MQ_PTR, MqErrorCheck, MqOptDefault(), MqOptGet(), MqSend_RET_OK(), MqSendEND_RETR(), MqSendRETURN(), MqSendSP, MqSendSTART(), MqSP, MqSysFree(), MqS::send, and WALK_LEN. Referenced by Ot_INIT(). |
|
|
print usage message to stdout
Definition at line 86 of file context.c. References MqPanicC. Referenced by Ot_INIT(). |
1.3.8-20040928