Revision 30b976f3
Added by Ken McDonell over 14 years ago
- ID 30b976f3a540484c80baffc8567e95b1915332d1
- added
- modified
- copied
- renamed
- deleted
- src
- include
- libpcp
- src
- connect.c (diff)
- connectlocal.c (diff)
- context.c (diff)
- desc.c (diff)
- fetch.c (diff)
- fetchlocal.c (diff)
- help.c (diff)
- instance.c (diff)
- logconnect.c (diff)
- p_creds.c (diff)
- p_desc.c (diff)
- p_error.c (diff)
- p_fetch.c (diff)
- p_instance.c (diff)
- p_lcontrol.c (diff)
- p_lrequest.c (diff)
- p_lstatus.c (diff)
- p_pmns.c (diff)
- p_profile.c (diff)
- p_result.c (diff)
- p_text.c (diff)
- pdu.c (diff)
- pmns.c (diff)
- store.c (diff)
- src
libpcp - add per context state in PMDAs
Define FROM_ANON as anonymous context, mostly for PDUs from a PMDA
to PMCD, where the context does not matter.
Add __pmPtrToHandle() to return context id.
__pmSend*() routines changed so "mode" parameter (was always PDU_BINARY
after PDU_ASCII was retired), becomes "from" which is a context identifier.
Some old disfunctional references to PDU_ASCII removed.
Add support for PMDA_INTERFACE_5 with PM_CONTEXT_LOCAL.
PDU header changes to encoded context, not sender pid in the
"from" field ... for some PDUs (especially credentials) need
sender pid, so "context" here is a rubbery notion at best.