dnssd 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -2
- data/History.txt +6 -0
- data/ext/dnssd/extconf.rb +1 -1
- data/ext/dnssd/service.c +8 -8
- data/lib/dnssd.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�,�0�_�A^�h���������H���f��L�-ް�}�df�d�-��P��<0���X�"Ή��?�Tm
|
2
|
+
-�b~�i9[�)n7�Nh9g�Z�������5v,;g��a����"`lqA�N�ԄJ��.-E���R܍�6
|
data/History.txt
CHANGED
data/ext/dnssd/extconf.rb
CHANGED
data/ext/dnssd/service.c
CHANGED
@@ -241,7 +241,7 @@ dnssd_service_add_record(VALUE self, VALUE _flags, VALUE _rrtype, VALUE _rdata,
|
|
241
241
|
rrtype = NUM2UINT(_rrtype);
|
242
242
|
rdlen = RSTRING_LEN(_rdata);
|
243
243
|
rdata = (void *)RSTRING_PTR(_rdata);
|
244
|
-
ttl = NUM2ULONG(_ttl);
|
244
|
+
ttl = (uint32_t)NUM2ULONG(_ttl);
|
245
245
|
|
246
246
|
get(cDNSSDService, self, DNSServiceRef, client);
|
247
247
|
|
@@ -308,7 +308,7 @@ dnssd_service_browse(VALUE self, VALUE _flags, VALUE _interface, VALUE _type,
|
|
308
308
|
flags = (DNSServiceFlags)NUM2ULONG(_flags);
|
309
309
|
|
310
310
|
if (!NIL_P(_interface))
|
311
|
-
interface = NUM2ULONG(_interface);
|
311
|
+
interface = (uint32_t)NUM2ULONG(_interface);
|
312
312
|
|
313
313
|
get(cDNSSDService, self, DNSServiceRef, client);
|
314
314
|
|
@@ -358,7 +358,7 @@ dnssd_service_enumerate_domains(VALUE self, VALUE _flags, VALUE _interface) {
|
|
358
358
|
flags = (DNSServiceFlags)NUM2ULONG(_flags);
|
359
359
|
|
360
360
|
if (!NIL_P(_interface))
|
361
|
-
interface = NUM2ULONG(_interface);
|
361
|
+
interface = (uint32_t)NUM2ULONG(_interface);
|
362
362
|
|
363
363
|
get(cDNSSDService, self, DNSServiceRef, client);
|
364
364
|
|
@@ -418,7 +418,7 @@ dnssd_service_getaddrinfo(VALUE self, VALUE _flags, VALUE _interface,
|
|
418
418
|
flags = (DNSServiceFlags)NUM2ULONG(_flags);
|
419
419
|
|
420
420
|
if (!NIL_P(_interface))
|
421
|
-
interface = NUM2ULONG(_interface);
|
421
|
+
interface = (uint32_t)NUM2ULONG(_interface);
|
422
422
|
|
423
423
|
get(cDNSSDService, self, DNSServiceRef, client);
|
424
424
|
|
@@ -474,7 +474,7 @@ dnssd_service_query_record(VALUE self, VALUE _flags, VALUE _interface,
|
|
474
474
|
uint16_t rrclass;
|
475
475
|
|
476
476
|
flags = (DNSServiceFlags)NUM2ULONG(_flags);
|
477
|
-
interface = NUM2ULONG(_interface);
|
477
|
+
interface = (uint32_t)NUM2ULONG(_interface);
|
478
478
|
fullname = StringValueCStr(_fullname);
|
479
479
|
rrtype = NUM2UINT(_rrtype);
|
480
480
|
rrclass = NUM2UINT(_rrclass);
|
@@ -550,7 +550,7 @@ dnssd_service_register(VALUE self, VALUE _flags, VALUE _interface, VALUE _name,
|
|
550
550
|
flags = (DNSServiceFlags)NUM2ULONG(_flags);
|
551
551
|
|
552
552
|
if (!NIL_P(_interface))
|
553
|
-
interface = NUM2ULONG(_interface);
|
553
|
+
interface = (uint32_t)NUM2ULONG(_interface);
|
554
554
|
|
555
555
|
if (rb_block_given_p())
|
556
556
|
callback = dnssd_service_register_reply;
|
@@ -610,10 +610,10 @@ dnssd_service_resolve(VALUE self, VALUE _flags, VALUE _interface, VALUE _name,
|
|
610
610
|
domain = StringValueCStr(_domain);
|
611
611
|
|
612
612
|
if (!NIL_P(_flags))
|
613
|
-
flags = NUM2ULONG(_flags);
|
613
|
+
flags = (uint32_t)NUM2ULONG(_flags);
|
614
614
|
|
615
615
|
if (!NIL_P(_interface))
|
616
|
-
interface = NUM2ULONG(_interface);
|
616
|
+
interface = (uint32_t)NUM2ULONG(_interface);
|
617
617
|
|
618
618
|
get(cDNSSDService, self, DNSServiceRef, client);
|
619
619
|
|
data/lib/dnssd.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnssd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 4
|
10
|
+
version: 1.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Eric Hodel
|
metadata.gz.sig
CHANGED
Binary file
|