>31.13.3. Event Support Functions</A
></H2
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><A
NAME="LIBPQ-PQREGISTEREVENTPROC"
></A
><CODE
CLASS="FUNCTION"
>PQregisterEventProc</CODE
>
      </DT
><DD
><P
>       Registers an event callback procedure with libpq.

</P><PRE
CLASS="SYNOPSIS"
>int PQregisterEventProc(PGconn *conn, PGEventProc proc,
                        const char *name, void *passThrough);</PRE
><P>
      </P
><P
>       An event procedure must be registered once on each
       <TT
CLASS="STR