1hpievents(1)                        OpenHPI                       hpievents(1)
2
3
4

NAME

6       hpievents - An openhpi sample application that polls for events.
7

SYNOPSIS

9       hpievents [ -t -d -x ]
10

DESCRIPTION

12       hpievents polls for events in an opened HPI session.  User can specify
13       wait time for the event. User can also select the order between hpi
14       resource (resource event) discovery and hpi event subscription.
15

OPTIONS

17        where:  -t <value> - wait <value> seconds for event;
18                -t SAHPI_TIMEOUT_BLOCK or BLOCK - infinite wait
19                -d - call saHpiDiscover() after saHpiSubscribe()
20                -x - displays eXtra debug messages
21

HPI APIs uniquely used in this application

23         SaErrorT SAHPI_API saHpiSubscribe (
24             SAHPI_IN SaHpiSessionIdT      SessionId );
25
26         SaErrorT SAHPI_API saHpiUnsubscribe (
27             SAHPI_IN SaHpiSessionIdT  SessionId );
28
29         SaErrorT SAHPI_API saHpiEventGet (
30             SAHPI_IN SaHpiSessionIdT            SessionId,
31             SAHPI_IN SaHpiTimeoutT              Timeout,
32             SAHPI_OUT SaHpiEventT               *Event,
33             SAHPI_INOUT SaHpiRdrT               *Rdr,
34             SAHPI_INOUT SaHpiRptEntryT          *RptEntry,
35             SAHPI_INOUT SaHpiEvtQueueStatusT    *EventQueueStatus );
36

SEE ALSO

AUTHORS

39       Authors of this man page:
40
41        Peter D Phan (pdphan@users.sourceforge.net)
42
43
44
452.14.1                            2009-11-23                      hpievents(1)
Impressum