mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: define missing C fn args & check C & JS args (#8770)
This commit is contained in:
@@ -11,18 +11,22 @@ module picohttpparser
|
||||
|
||||
struct C.phr_header {
|
||||
pub:
|
||||
name charptr
|
||||
name_len int
|
||||
value charptr
|
||||
name charptr
|
||||
name_len int
|
||||
value charptr
|
||||
value_len int
|
||||
}
|
||||
|
||||
struct C.phr_header_t {}
|
||||
|
||||
fn C.phr_parse_request() int
|
||||
fn C.phr_parse_response() int
|
||||
fn C.phr_parse_headers() int
|
||||
fn C.phr_parse_request(buf charptr, len size_t, method &charptr, method_len &size_t, path &charptr, path_len &size_t, minor_version &int, headers &C.phr_header, num_headers &size_t, last_len size_t) int
|
||||
|
||||
fn C.phr_parse_request_path() int
|
||||
fn C.phr_parse_request_path_pipeline() int
|
||||
fn C.phr_parse_response(buf charptr, len size_t, minor_version &int, status &int, msg &charptr, msg_len &size_t, headers &C.phr_header, num_headers &size_t, last_len size_t) int
|
||||
|
||||
fn C.phr_parse_headers(buf charptr, len size_t, headers &C.phr_header, num_headers &size_t, last_len size_t) int
|
||||
|
||||
fn C.phr_parse_request_path(buf_start charptr, len size_t, method &charptr, method_len &size_t, path &charptr, path_len &size_t) int
|
||||
fn C.phr_parse_request_path_pipeline(buf_start charptr, len size_t, method &charptr, method_len &size_t, path &charptr, path_len &size_t) int
|
||||
fn C.get_date() byteptr
|
||||
fn C.u64toa() int
|
||||
// char * u64toa(uint64_t value, char *buffer)
|
||||
fn C.u64toa(value u64, buffer charptr) charptr
|
||||
|
Reference in New Issue
Block a user