/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foomcprotocolhfoo #define foomcprotocolhfoo int mc_is_handshake_complete(const char *buf, size_t len); bool mc_protocol_parse_status_reply(const char *buf, size_t len, unsigned *online, unsigned *max); bool mc_protocol_create_status_request(char *buf, size_t len, size_t *rlen, struct saddr *saddr); #endif