chiark / gitweb /
Progress towards Standards.info
[adns.git] / regress / hmacros.i4
index ebbd68244c3c831502f88143716ddcb39670ae70..4e3731036f86cd1efd656bbc9b4a98afc82f95fd 100644 (file)
@@ -35,7 +35,6 @@ m4_define(`hm_args_massage',
 
 m4_define(`hm_create_nothing', `
  m4_define(`hm_na',`')
- m4_define(`hm_arg_timeval_out_abs', `')
  m4_define(`hm_arg_nullptr', `')
  m4_define(`hm_arg_int', `')
  m4_define(`hm_arg_fdset_io', `')
@@ -53,7 +52,6 @@ m4_define(`hm_create_nothing', `
 
 m4_define(`hm_create_proto_h',`
  m4_define(`hm_na', `hm_comma')
- m4_define(`hm_arg_timeval_out_abs', `struct timeval *$'`1')
  m4_define(`hm_arg_nullptr', `$'`1 $'`2')
  m4_define(`hm_arg_int', `int $'`1')
  m4_define(`hm_arg_fdset_io', `fd_set *$'`1')
@@ -71,7 +69,6 @@ m4_define(`hm_create_proto_h',`
 
 m4_define(`hm_create_proto_q',`
  hm_create_proto_h
- m4_define(`hm_arg_timeval_out_abs', `')
  m4_define(`hm_arg_nullptr', `')
  m4_define(`hm_arg_fdset_io', `const fd_set *$'`1')
  m4_define(`hm_arg_must', `')
@@ -99,11 +96,11 @@ m4_define(`hm_create_hqcall_init',`
   } else {
     $'`2= 0;
   }')
+ m4_define(`hm_arg_addr_out',`Tmust("$1","*$'`2",*$'`2>=sizeof(struct sockaddr_in));')
 ')
 
 m4_define(`hm_create_realcall_args',`
  m4_define(`hm_na',`hm_comma')
- m4_define(`hm_arg_timeval_out_abs', `$'`1')
  m4_define(`hm_arg_nullptr', `0')
  m4_define(`hm_arg_int', `$'`1')
  m4_define(`hm_arg_fdset_io', `$'`1')
@@ -121,7 +118,6 @@ m4_define(`hm_create_realcall_args',`
 
 m4_define(`hm_create_hqcall_args',`
  hm_create_realcall_args
- m4_define(`hm_arg_timeval_out_abs', `')
  m4_define(`hm_arg_nullptr', `')
  m4_define(`hm_arg_must', `')
  m4_define(`hm_arg_ign', `')