1PMDAINTERFACEMOVED(3)      Library Functions Manual      PMDAINTERFACEMOVED(3)
2
3
4

NAME

6       pmdaInterfaceMoved - reset internal state of a pmdaInterface structure
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/impl.h>
11       #include <pcp/pmda.h>
12
13       void pmdaInterfaceMoved(pmdaInterface *dispatch)
14
15       cc ... -lpcp_pmda -lpcp
16

DESCRIPTION

18       After  a  call  to either pmdaDaemon(3) or pmdaDSO(3) to initialize the
19       pmdaInterface structure, if the caller needs to relocate  or  move  the
20       structure  for  any  reason  then pmdaInterfaceMoved needs to be called
21       with the new base address of the pmdaInterface routine as specified  by
22       dispatch.
23
24       pmdaInterfaceMoved  will re-establish the internal integrity of the pm‐
25       daInterface structure at the new location before any other  routine  in
26       libpcp_pmda called.
27

CAVEAT

29       The PMDA must be using PMDA_INTERFACE_2 or later.
30

SEE ALSO

32       PMAPI(3), PMDA(3), pmdaDaemon(3) and pmdaDSO(3).
33
34
35
36Performance Co-Pilot                  PCP                PMDAINTERFACEMOVED(3)
Impressum