move reader to the top of the file
This commit is contained in:
parent
7ced5c1222
commit
d4374ac2da
1 changed files with 5 additions and 5 deletions
10
lib/types.ml
10
lib/types.ml
|
@ -1,3 +1,8 @@
|
||||||
|
type reader =
|
||||||
|
{ data : bytes
|
||||||
|
; pointer : int
|
||||||
|
}
|
||||||
|
|
||||||
type dns_header =
|
type dns_header =
|
||||||
{ id : int
|
{ id : int
|
||||||
; flags : int
|
; flags : int
|
||||||
|
@ -20,8 +25,3 @@ type dns_record =
|
||||||
; ttl : int
|
; ttl : int
|
||||||
; data : bytes
|
; data : bytes
|
||||||
}
|
}
|
||||||
|
|
||||||
type reader =
|
|
||||||
{ data : bytes
|
|
||||||
; pointer : int
|
|
||||||
}
|
|
||||||
|
|
Reference in a new issue