Skip to content

Commit

Permalink
Merge pull request #6 from spiiroin/dsme_internal_wakeups
Browse files Browse the repository at this point in the history
Add wakeup field to iphb wait request data
  • Loading branch information
spiiroin committed Nov 22, 2013
2 parents 620b46c + dae4005 commit fd2d0f7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,5 +1,5 @@
# Package name and version
AC_INIT(libiphb, 1.0.2)
AC_INIT(libiphb, 1.1.0)

AM_INIT_AUTOMAKE

Expand Down
2 changes: 1 addition & 1 deletion rpm/libiphb.spec
Expand Up @@ -9,7 +9,7 @@ Name: libiphb
# << macros

Summary: API for IP Heartbeat service
Version: 1.0.2
Version: 1.1.0
Release: 0
Group: System/System Control
License: LGPLv2+
Expand Down
2 changes: 1 addition & 1 deletion rpm/libiphb.yaml
@@ -1,6 +1,6 @@
Name: libiphb
Summary: API for IP Heartbeat service
Version: 1.0.2
Version: 1.1.0
Release: 0
Group: System/System Control
License: LGPLv2+
Expand Down
10 changes: 10 additions & 0 deletions src/iphb_internal.h
Expand Up @@ -47,6 +47,16 @@ struct _iphb_wait_req_t {
unsigned short mintime; /*!< minimum wait time in seconds, zero means use default */
unsigned short maxtime; /*!< maximum wait time in seconds, zero means use default */
pid_t pid; /*!< client process ID (PID) */

/* Since 1.1.0 */
unsigned char wakeup; /*!< Flag for use with dsme internal waits.
* If set to non-zero value, device will
* wakeup to handle the internal wakeup
* instead of handling it while woken up
* due to external activity. */

/* Note: The size of this structure can grow up to 64 bytes without causing
* binary compatibility breaks, see struct _iphb_req_t below */
};

/**@brief Message from iphbd to client ("wake up!") */
Expand Down

0 comments on commit fd2d0f7

Please sign in to comment.