#include <lightningd/cryptomsg.h>

# These take an fd, but have no response
# (if it is to move onto a channel, we get a status msg).
gossipctl_new_peer,1
gossipctl_new_peer,0,unique_id,8
gossipctl_new_peer,8,crypto_state,144,struct crypto_state

# Tell it to release a peer which has initialized.
gossipctl_release_peer,2
gossipctl_release_peer,0,unique_id,8

# This releases the peer and returns the cryptostate (followed by fd)
gossipctl_release_peer_response,102
gossipctl_release_peer_response,0,unique_id,8
gossipctl_release_peer_response,8,crypto_state,144,struct crypto_state