Expose the raw SPTPS send interface from net_packet.
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 9 May 2015 16:54:34 +0000 (17:54 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sun, 10 May 2015 20:08:57 +0000 (21:08 +0100)
commit1296f715b57c88c17299cacadaccdc0be898e0b1
tree982d48334e1bc59b3dfc2d3a9f32ea363c745698
parent8e43a2fc744559956640d3eb9a7a26a945d94fde
Expose the raw SPTPS send interface from net_packet.

net_packet doesn't actually use send_sptps_data(); it only uses
send_sptps_data_priv(). In addition, the only user of send_sptps_data()
is protocol_key. Therefore it makes sense to expose
send_sptps_data_priv() directly, and move send_sptps_data() (which is
basically just boilerplate) as a local function in protocol_key.
src/net.h
src/net_packet.c
src/protocol_key.c