]> git.scottworley.com Git - tattlekey/blobdiff - client/net.h
client: Change wire format!: Expand `ago` field: 16 bits → 32 bits
[tattlekey] / client / net.h
index 3cc07916e34768600fd99debad96da50d5a66c27..9b8fc1f7e0043d8a8fff61c35495ee7e859847cd 100644 (file)
@@ -1,8 +1,25 @@
+/* tattlekey: A one-key UDP keyboard
+ * Copyright (C) 2023  Scott Worley <scottworley@scottworley.com>
+ *
+ * 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 <https://www.gnu.org/licenses/>.
+ */
+
 #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);
 
 #endif