Module Commons.Acc

Helper functions for deconstructing data structures.

val ip : ip -> Ipaddr.t
val port : port -> int
val ip_port : ip_port -> ip * port
val ip_port' : ip_port -> ip * int
val privkey : privkey -> privkey_25519
val pubkey : pubkey -> pubkey_25519
val multicast_group : multicast_group -> [ `Rw of privkey * pubkey | `Ro of pubkey ]
val multicast_group_privkey : multicast_group_privkey -> privkey
val multicast_group_pubkey : multicast_group_pubkey -> pubkey
val multicast_group_ro : multicast_group_ro -> multicast_group_pubkey
val multicast_group_ro' : multicast_group_ro -> pubkey
val multicast_group_rw' : multicast_group_rw -> privkey * pubkey
val multicast_subscriber : multicast_subscriber -> pubkey
val control_interface : host_port option -> (string * port) option