X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/1e0a316ef9271ddd7e1422883a0a8db771b77a13..f9625e91cfed21a65b720609ed1d8a7e7c0f36bd:/client/net.h?ds=sidebyside diff --git a/client/net.h b/client/net.h index 3cc0791..31e5cc4 100644 --- a/client/net.h +++ b/client/net.h @@ -1,8 +1,27 @@ +/* tattlekey: A one-key UDP keyboard + * Copyright (C) 2023 Scott Worley + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef NET_H #define NET_H #include "lwip/arch.h" -void send_report(u16_t seq, u16_t ago); +void send_report_packet(u16_t seq, u32_t ago); + +void new_epoch(); #endif