@@ -62,9 +62,9 @@ pub struct ares_options {
62
62
pub socket_receive_buffer_size : :: std:: os:: raw:: c_int ,
63
63
pub servers : * mut in_addr ,
64
64
pub nservers : :: std:: os:: raw:: c_int ,
65
- pub domains : * mut * mut :: std:: os:: raw:: c_schar ,
65
+ pub domains : * mut * mut :: std:: os:: raw:: c_char ,
66
66
pub ndomains : :: std:: os:: raw:: c_int ,
67
- pub lookups : * mut :: std:: os:: raw:: c_schar ,
67
+ pub lookups : * mut :: std:: os:: raw:: c_char ,
68
68
pub sock_state_cb : ares_sock_state_cb ,
69
69
pub sock_state_cb_data : * mut :: std:: os:: raw:: c_void ,
70
70
pub sortlist : * mut apattern ,
@@ -104,9 +104,9 @@ pub type ares_nameinfo_callback =
104
104
timeouts :
105
105
:: std:: os:: raw:: c_int ,
106
106
node :
107
- * mut :: std:: os:: raw:: c_schar ,
107
+ * mut :: std:: os:: raw:: c_char ,
108
108
service :
109
- * mut :: std:: os:: raw:: c_schar ) > ;
109
+ * mut :: std:: os:: raw:: c_char ) > ;
110
110
pub type ares_sock_create_callback =
111
111
:: std:: option:: Option < unsafe extern "C" fn ( socket_fd : ares_socket_t ,
112
112
type_ : :: std:: os:: raw:: c_int ,
@@ -150,7 +150,7 @@ extern "C" {
150
150
}
151
151
extern "C" {
152
152
pub fn ares_version ( version : * mut :: std:: os:: raw:: c_int )
153
- -> * const :: std:: os:: raw:: c_schar ;
153
+ -> * const :: std:: os:: raw:: c_char ;
154
154
}
155
155
extern "C" {
156
156
pub fn ares_init ( channelptr : * mut ares_channel ) -> :: std:: os:: raw:: c_int ;
@@ -190,7 +190,7 @@ extern "C" {
190
190
}
191
191
extern "C" {
192
192
pub fn ares_set_local_dev ( channel : ares_channel ,
193
- local_dev_name : * const :: std:: os:: raw:: c_schar ) ;
193
+ local_dev_name : * const :: std:: os:: raw:: c_char ) ;
194
194
}
195
195
extern "C" {
196
196
pub fn ares_set_socket_callback ( channel : ares_channel ,
@@ -206,7 +206,7 @@ extern "C" {
206
206
}
207
207
extern "C" {
208
208
pub fn ares_set_sortlist ( channel : ares_channel ,
209
- sortstr : * const :: std:: os:: raw:: c_schar )
209
+ sortstr : * const :: std:: os:: raw:: c_char )
210
210
-> :: std:: os:: raw:: c_int ;
211
211
}
212
212
#[ repr( C ) ]
@@ -274,28 +274,28 @@ extern "C" {
274
274
}
275
275
extern "C" {
276
276
pub fn ares_query ( channel : ares_channel ,
277
- name : * const :: std:: os:: raw:: c_schar ,
277
+ name : * const :: std:: os:: raw:: c_char ,
278
278
dnsclass : :: std:: os:: raw:: c_int ,
279
279
type_ : :: std:: os:: raw:: c_int , callback : ares_callback ,
280
280
arg : * mut :: std:: os:: raw:: c_void ) ;
281
281
}
282
282
extern "C" {
283
283
pub fn ares_search ( channel : ares_channel ,
284
- name : * const :: std:: os:: raw:: c_schar ,
284
+ name : * const :: std:: os:: raw:: c_char ,
285
285
dnsclass : :: std:: os:: raw:: c_int ,
286
286
type_ : :: std:: os:: raw:: c_int , callback : ares_callback ,
287
287
arg : * mut :: std:: os:: raw:: c_void ) ;
288
288
}
289
289
extern "C" {
290
290
pub fn ares_gethostbyname ( channel : ares_channel ,
291
- name : * const :: std:: os:: raw:: c_schar ,
291
+ name : * const :: std:: os:: raw:: c_char ,
292
292
family : :: std:: os:: raw:: c_int ,
293
293
callback : ares_host_callback ,
294
294
arg : * mut :: std:: os:: raw:: c_void ) ;
295
295
}
296
296
extern "C" {
297
297
pub fn ares_gethostbyname_file ( channel : ares_channel ,
298
- name : * const :: std:: os:: raw:: c_schar ,
298
+ name : * const :: std:: os:: raw:: c_char ,
299
299
family : :: std:: os:: raw:: c_int ,
300
300
host : * mut * mut hostent )
301
301
-> :: std:: os:: raw:: c_int ;
@@ -338,7 +338,7 @@ extern "C" {
338
338
write_fd : ares_socket_t ) ;
339
339
}
340
340
extern "C" {
341
- pub fn ares_create_query ( name : * const :: std:: os:: raw:: c_schar ,
341
+ pub fn ares_create_query ( name : * const :: std:: os:: raw:: c_char ,
342
342
dnsclass : :: std:: os:: raw:: c_int ,
343
343
type_ : :: std:: os:: raw:: c_int ,
344
344
id : :: std:: os:: raw:: c_ushort ,
@@ -349,7 +349,7 @@ extern "C" {
349
349
-> :: std:: os:: raw:: c_int ;
350
350
}
351
351
extern "C" {
352
- pub fn ares_mkquery ( name : * const :: std:: os:: raw:: c_schar ,
352
+ pub fn ares_mkquery ( name : * const :: std:: os:: raw:: c_char ,
353
353
dnsclass : :: std:: os:: raw:: c_int ,
354
354
type_ : :: std:: os:: raw:: c_int ,
355
355
id : :: std:: os:: raw:: c_ushort ,
@@ -362,7 +362,7 @@ extern "C" {
362
362
pub fn ares_expand_name ( encoded : * const :: std:: os:: raw:: c_uchar ,
363
363
abuf : * const :: std:: os:: raw:: c_uchar ,
364
364
alen : :: std:: os:: raw:: c_int ,
365
- s : * mut * mut :: std:: os:: raw:: c_schar ,
365
+ s : * mut * mut :: std:: os:: raw:: c_char ,
366
366
enclen : * mut :: std:: os:: raw:: c_long )
367
367
-> :: std:: os:: raw:: c_int ;
368
368
}
@@ -413,7 +413,7 @@ impl Clone for ares_addr6ttl {
413
413
#[ derive( Debug , Copy ) ]
414
414
pub struct ares_srv_reply {
415
415
pub next : * mut ares_srv_reply ,
416
- pub host : * mut :: std:: os:: raw:: c_schar ,
416
+ pub host : * mut :: std:: os:: raw:: c_char ,
417
417
pub priority : :: std:: os:: raw:: c_ushort ,
418
418
pub weight : :: std:: os:: raw:: c_ushort ,
419
419
pub port : :: std:: os:: raw:: c_ushort ,
@@ -425,7 +425,7 @@ impl Clone for ares_srv_reply {
425
425
#[ derive( Debug , Copy ) ]
426
426
pub struct ares_mx_reply {
427
427
pub next : * mut ares_mx_reply ,
428
- pub host : * mut :: std:: os:: raw:: c_schar ,
428
+ pub host : * mut :: std:: os:: raw:: c_char ,
429
429
pub priority : :: std:: os:: raw:: c_ushort ,
430
430
}
431
431
impl Clone for ares_mx_reply {
@@ -459,7 +459,7 @@ pub struct ares_naptr_reply {
459
459
pub flags : * mut :: std:: os:: raw:: c_uchar ,
460
460
pub service : * mut :: std:: os:: raw:: c_uchar ,
461
461
pub regexp : * mut :: std:: os:: raw:: c_uchar ,
462
- pub replacement : * mut :: std:: os:: raw:: c_schar ,
462
+ pub replacement : * mut :: std:: os:: raw:: c_char ,
463
463
pub order : :: std:: os:: raw:: c_ushort ,
464
464
pub preference : :: std:: os:: raw:: c_ushort ,
465
465
}
@@ -469,8 +469,8 @@ impl Clone for ares_naptr_reply {
469
469
#[ repr( C ) ]
470
470
#[ derive( Debug , Copy ) ]
471
471
pub struct ares_soa_reply {
472
- pub nsname : * mut :: std:: os:: raw:: c_schar ,
473
- pub hostmaster : * mut :: std:: os:: raw:: c_schar ,
472
+ pub nsname : * mut :: std:: os:: raw:: c_char ,
473
+ pub hostmaster : * mut :: std:: os:: raw:: c_char ,
474
474
pub serial : :: std:: os:: raw:: c_uint ,
475
475
pub refresh : :: std:: os:: raw:: c_uint ,
476
476
pub retry : :: std:: os:: raw:: c_uint ,
@@ -558,7 +558,7 @@ extern "C" {
558
558
}
559
559
extern "C" {
560
560
pub fn ares_strerror ( code : :: std:: os:: raw:: c_int )
561
- -> * const :: std:: os:: raw:: c_schar ;
561
+ -> * const :: std:: os:: raw:: c_char ;
562
562
}
563
563
#[ repr( C ) ]
564
564
#[ derive( Debug , Copy ) ]
@@ -614,12 +614,12 @@ extern "C" {
614
614
}
615
615
extern "C" {
616
616
pub fn ares_set_servers_csv ( channel : ares_channel ,
617
- servers : * const :: std:: os:: raw:: c_schar )
617
+ servers : * const :: std:: os:: raw:: c_char )
618
618
-> :: std:: os:: raw:: c_int ;
619
619
}
620
620
extern "C" {
621
621
pub fn ares_set_servers_ports_csv ( channel : ares_channel ,
622
- servers : * const :: std:: os:: raw:: c_schar )
622
+ servers : * const :: std:: os:: raw:: c_char )
623
623
-> :: std:: os:: raw:: c_int ;
624
624
}
625
625
extern "C" {
@@ -635,13 +635,13 @@ extern "C" {
635
635
extern "C" {
636
636
pub fn ares_inet_ntop ( af : :: std:: os:: raw:: c_int ,
637
637
src : * const :: std:: os:: raw:: c_void ,
638
- dst : * mut :: std:: os:: raw:: c_schar ,
638
+ dst : * mut :: std:: os:: raw:: c_char ,
639
639
size : ares_socklen_t )
640
- -> * const :: std:: os:: raw:: c_schar ;
640
+ -> * const :: std:: os:: raw:: c_char ;
641
641
}
642
642
extern "C" {
643
643
pub fn ares_inet_pton ( af : :: std:: os:: raw:: c_int ,
644
- src : * const :: std:: os:: raw:: c_schar ,
644
+ src : * const :: std:: os:: raw:: c_char ,
645
645
dst : * mut :: std:: os:: raw:: c_void )
646
646
-> :: std:: os:: raw:: c_int ;
647
647
}
0 commit comments