]> git.meshlink.io Git - catta/commitdiff
change rdata type from "uint8_t*" to "const void*"
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Oct 2005 19:22:51 +0000 (19:22 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 27 Oct 2005 19:22:51 +0000 (19:22 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@897 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-client/entrygroup.c
avahi-client/publish.h

index 4143f2bfa827b3d01498dc6075d13ecce59f156a..e94001b796f85022754ddb5e4b080d2cc474db89 100644 (file)
@@ -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;
index 1207a211d14bd0f5872f1b519163f285d88219f0..da0d467fce900b88df63eeb9755968e47609d6c0 100644 (file)
@@ -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