|
566 | 566 | (settings :pointer)
|
567 | 567 | (lsquic_engine_flags :unsigned-int)
|
568 | 568 | (err_buf :string)
|
569 |
| - (err_buf_sz :pointer)) |
| 569 | + (err_buf_sz :unsigned-int)) |
570 | 570 |
|
571 | 571 | (cl:export '#.(chomp-lsquic "lsquic_engine_check_settings" 'function))
|
572 | 572 |
|
573 | 573 | (cffi:defcstruct #.(chomp-lsquic "lsquic_out_spec" 'classname)
|
574 | 574 | (#.(chomp-lsquic "iov" 'slotname) :pointer)
|
575 |
| - (#.(chomp-lsquic "iovlen" 'slotname) :pointer) |
| 575 | + (#.(chomp-lsquic "iovlen" 'slotname) :unsigned-int) |
576 | 576 | (#.(chomp-lsquic "local_sa" 'slotname) :pointer)
|
577 | 577 | (#.(chomp-lsquic "dest_sa" 'slotname) :pointer)
|
578 | 578 | (#.(chomp-lsquic "peer_ctx" 'slotname) :pointer)
|
|
746 | 746 | (hostname :string)
|
747 | 747 | (base_plpmtu :unsigned-short)
|
748 | 748 | (sess_resume :pointer)
|
749 |
| - (sess_resume_len :pointer) |
| 749 | + (sess_resume_len :unsigned-int) |
750 | 750 | (token :pointer)
|
751 |
| - (token_sz :pointer)) |
| 751 | + (token_sz :unsigned-int)) |
752 | 752 |
|
753 | 753 | (cl:export '#.(chomp-lsquic "lsquic_engine_connect" 'function))
|
754 | 754 |
|
755 | 755 | (cffi:defcfun ("lsquic_engine_packet_in" #.(chomp-lsquic "lsquic_engine_packet_in" 'function)) :int
|
756 | 756 | (arg0 :pointer)
|
757 | 757 | (packet_in_data :pointer)
|
758 |
| - (packet_in_size :pointer) |
| 758 | + (packet_in_size :unsigned-int) |
759 | 759 | (sa_local :pointer)
|
760 | 760 | (sa_peer :pointer)
|
761 | 761 | (peer_ctx :pointer)
|
|
823 | 823 | (cffi:defcfun ("lsquic_stream_read" #.(chomp-lsquic "lsquic_stream_read" 'function)) :pointer
|
824 | 824 | (s :pointer)
|
825 | 825 | (buf :pointer)
|
826 |
| - (len :pointer)) |
| 826 | + (len :unsigned-int)) |
827 | 827 |
|
828 | 828 | (cl:export '#.(chomp-lsquic "lsquic_stream_read" 'function))
|
829 | 829 |
|
|
850 | 850 | (cffi:defcfun ("lsquic_stream_write" #.(chomp-lsquic "lsquic_stream_write" 'function)) :pointer
|
851 | 851 | (s :pointer)
|
852 | 852 | (buf :pointer)
|
853 |
| - (len :pointer)) |
| 853 | + (len :unsigned-int)) |
854 | 854 |
|
855 | 855 | (cl:export '#.(chomp-lsquic "lsquic_stream_write" 'function))
|
856 | 856 |
|
|
1099 | 1099 |
|
1100 | 1100 | (cffi:defcfun ("lsquic_str2ver" #.(chomp-lsquic "lsquic_str2ver" 'function)) #.(chomp-lsquic "lsquic_version" 'enumname)
|
1101 | 1101 | (str :string)
|
1102 |
| - (len :pointer)) |
| 1102 | + (len :unsigned-int)) |
1103 | 1103 |
|
1104 | 1104 | (cl:export '#.(chomp-lsquic "lsquic_str2ver" 'function))
|
1105 | 1105 |
|
1106 | 1106 | (cffi:defcfun ("lsquic_alpn2ver" #.(chomp-lsquic "lsquic_alpn2ver" 'function)) #.(chomp-lsquic "lsquic_version" 'enumname)
|
1107 | 1107 | (alpn :string)
|
1108 |
| - (len :pointer)) |
| 1108 | + (len :unsigned-int)) |
1109 | 1109 |
|
1110 | 1110 | (cl:export '#.(chomp-lsquic "lsquic_alpn2ver" 'function))
|
1111 | 1111 |
|
|
1149 | 1149 | (cffi:defcfun ("lsquic_is_valid_hs_packet" #.(chomp-lsquic "lsquic_is_valid_hs_packet" 'function)) :int
|
1150 | 1150 | (arg0 :pointer)
|
1151 | 1151 | (arg1 :pointer)
|
1152 |
| - (arg2 :pointer)) |
| 1152 | + (arg2 :unsigned-int)) |
1153 | 1153 |
|
1154 | 1154 | (cl:export '#.(chomp-lsquic "lsquic_is_valid_hs_packet" 'function))
|
1155 | 1155 |
|
1156 | 1156 | (cffi:defcfun ("lsquic_cid_from_packet" #.(chomp-lsquic "lsquic_cid_from_packet" 'function)) :int
|
1157 | 1157 | (arg0 :pointer)
|
1158 |
| - (bufsz :pointer) |
| 1158 | + (bufsz :unsigned-int) |
1159 | 1159 | (cid :pointer))
|
1160 | 1160 |
|
1161 | 1161 | (cl:export '#.(chomp-lsquic "lsquic_cid_from_packet" 'function))
|
|
1189 | 1189 | (cffi:defcfun ("lsquic_conn_status" #.(chomp-lsquic "lsquic_conn_status" 'function)) #.(chomp-lsquic "LSQUIC_CONN_STATUS" 'enumname)
|
1190 | 1190 | (arg0 :pointer)
|
1191 | 1191 | (errbuf :string)
|
1192 |
| - (bufsz :pointer)) |
| 1192 | + (bufsz :unsigned-int)) |
1193 | 1193 |
|
1194 | 1194 | (cl:export '#.(chomp-lsquic "lsquic_conn_status" 'function))
|
1195 | 1195 |
|
|
1259 | 1259 | (hdr :pointer)
|
1260 | 1260 | (hpack_idx :int)
|
1261 | 1261 | (val :string)
|
1262 |
| - (val_len :pointer)) |
| 1262 | + (val_len :unsigned-int)) |
1263 | 1263 |
|
1264 | 1264 | (cl:export '#.(chomp-lsquic "lsxpack_header_set_idx" 'function))
|
1265 | 1265 |
|
1266 | 1266 | (cffi:defcfun ("lsxpack_header_set_qpack_idx" #.(chomp-lsquic "lsxpack_header_set_qpack_idx" 'function)) :void
|
1267 | 1267 | (hdr :pointer)
|
1268 | 1268 | (qpack_idx :int)
|
1269 | 1269 | (val :string)
|
1270 |
| - (val_len :pointer)) |
| 1270 | + (val_len :unsigned-int)) |
1271 | 1271 |
|
1272 | 1272 | (cl:export '#.(chomp-lsquic "lsxpack_header_set_qpack_idx" 'function))
|
1273 | 1273 |
|
1274 | 1274 | (cffi:defcfun ("lsxpack_header_set_offset" #.(chomp-lsquic "lsxpack_header_set_offset" 'function)) :void
|
1275 | 1275 | (hdr :pointer)
|
1276 | 1276 | (buf :string)
|
1277 |
| - (name_offset :pointer) |
1278 |
| - (name_len :pointer) |
1279 |
| - (val_len :pointer)) |
| 1277 | + (name_offset :unsigned-int) |
| 1278 | + (name_len :unsigned-int) |
| 1279 | + (val_len :unsigned-int)) |
1280 | 1280 |
|
1281 | 1281 | (cl:export '#.(chomp-lsquic "lsxpack_header_set_offset" 'function))
|
1282 | 1282 |
|
1283 | 1283 | (cffi:defcfun ("lsxpack_header_set_offset2" #.(chomp-lsquic "lsxpack_header_set_offset2" 'function)) :void
|
1284 | 1284 | (hdr :pointer)
|
1285 | 1285 | (buf :string)
|
1286 |
| - (name_offset :pointer) |
1287 |
| - (name_len :pointer) |
1288 |
| - (val_offset :pointer) |
1289 |
| - (val_len :pointer)) |
| 1286 | + (name_offset :unsigned-int) |
| 1287 | + (name_len :unsigned-int) |
| 1288 | + (val_offset :unsigned-int) |
| 1289 | + (val_len :unsigned-int)) |
1290 | 1290 |
|
1291 | 1291 | (cl:export '#.(chomp-lsquic "lsxpack_header_set_offset2" 'function))
|
1292 | 1292 |
|
1293 | 1293 | (cffi:defcfun ("lsxpack_header_prepare_decode" #.(chomp-lsquic "lsxpack_header_prepare_decode" 'function)) :void
|
1294 | 1294 | (hdr :pointer)
|
1295 | 1295 | (out :string)
|
1296 |
| - (offset :pointer) |
1297 |
| - (len :pointer)) |
| 1296 | + (offset :unsigned-int) |
| 1297 | + (len :unsigned-int)) |
1298 | 1298 |
|
1299 | 1299 | (cl:export '#.(chomp-lsquic "lsxpack_header_prepare_decode" 'function))
|
1300 | 1300 |
|
|
0 commit comments