Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
dbus: add obj_path structure
- Loading branch information
Showing
6 changed files
with
29 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think line 45 needs a change as well for the non-dbus case, otherwise compilation fails:
CC src/subscriptions.o
src/subscriptions.c: In function 'subscription_status_callback':
src/subscriptions.c:878:5: warning: passing argument 2 of 'dbus_emit_signal_s64' makes integer from pointer without a cast [enabled by default]
dbus_emit_signal_s64("/status", "subscriptions", count);
^
In file included from src/subscriptions.c:43:0:
src/dbus.h:53:1: note: expected 'int64_t' but argument is of type 'const char *'
dbus_emit_signal_s64(const char *sig_name, int64_t value) { }
^
src/subscriptions.c:878:5: error: too many arguments to function 'dbus_emit_signal_s64'
dbus_emit_signal_s64("/status", "subscriptions", count);
^
In file included from src/subscriptions.c:43:0:
src/dbus.h:53:1: note: declared here
dbus_emit_signal_s64(const char *sig_name, int64_t value) { }
^