summaryrefslogtreecommitdiffstats
path: root/avahi-client
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-27 19:22:51 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-27 19:22:51 +0000
commit2be7dc13cecbb995692eec1bfc1d27799651ec70 (patch)
tree89d411b71ddb2c627792ddb817b3ae281e108585 /avahi-client
parentf6712902a92eb82b6c8d7e7fd0980a20a716fa0d (diff)
change rdata type from "uint8_t*" to "const void*"
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@897 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client')
-rw-r--r--avahi-client/entrygroup.c4
-rw-r--r--avahi-client/publish.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c
index 4143f2b..e94001b 100644
--- a/avahi-client/entrygroup.c
+++ b/avahi-client/entrygroup.c
@@ -330,7 +330,7 @@ fail:
return r;
}
-static int append_rdata(DBusMessage *message, uint8_t *rdata, size_t size) {
+static int append_rdata(DBusMessage *message, const void *rdata, size_t size) {
DBusMessageIter iter, sub;
assert(message);
@@ -801,7 +801,7 @@ int avahi_entry_group_add_record(
uint16_t clazz,
uint16_t type,
uint32_t ttl,
- uint8_t *rdata,
+ const void *rdata,
size_t size) {
DBusMessage *message = NULL, *reply = NULL;
diff --git a/avahi-client/publish.h b/avahi-client/publish.h
index 1207a21..da0d467 100644
--- a/avahi-client/publish.h
+++ b/avahi-client/publish.h
@@ -146,7 +146,7 @@ int avahi_entry_group_add_record(
uint16_t clazz,
uint16_t type,
uint32_t ttl,
- uint8_t *rdata,
+ const void *rdata,
size_t size);
AVAHI_C_DECL_END