aboutsummaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/net/stpsession.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/include/net/stpsession.h b/lib/include/net/stpsession.h
index 351be26..773d57b 100644
--- a/lib/include/net/stpsession.h
+++ b/lib/include/net/stpsession.h
@@ -91,4 +91,10 @@ struct msg_frame {
uint16_t len;
uint8_t payload[MESSAGE_SIZE];
};
+
+int send_frame(int client_fd, void *data, size_t len,
+ const unsigned char *session_key);
+int recv_frame(int client_fd, size_t len, const unsigned char *session_key,
+ void *res);
+
#endif /* STP_SESSION_H_ */