NAME
pmContextUndef - change current PMAPI context
C SYNOPSIS
#include <pcp/pmapi.h>
void pmContextUndef(void)
cc ... -lpcp
DESCRIPTION
An application using the Performance Metrics Application Programming
Interface (PMAPI) may manipulate several concurrent contexts, each
associated with a source of performance metrics, e.g. pmcd(1) on some
host, or an archive log of performance metrics as created by
pmlogger(1).
Calling pmContextUndef causes the current PMAPI context to be reset to
undefined state which could be use to prevent unintentional
communication with PMCD.
SEE ALSO
PMAPI(3), pmDestroyContext(3), pmDupContext(3), pmNewContext(3) and
pmWhichContext(3).