1 /* 2 * aprsc 3 * 4 * (c) Heikki Hannikainen, OH7LZB <hessu@hes.iki.fi> 5 * 6 * This program is licensed under the BSD license, which can be found 7 * in the file LICENSE. 8 * 9 */ 10 11 #ifndef LOGIN_H 12 #define LOGIN_H 13 14 #include "worker.h" 15 16 extern int http_udp_upload_login(const char *addr_rem, char *s, char **username, const char *log_source); 17 extern int login_handler(struct worker_t *self, struct client_t *c, int l4proto, char *s, int len); 18 extern void login_set_app_name(struct client_t *c, const char *app_name, const char *app_ver); 19 extern int login_setup_udp_feed(struct client_t *c, int port); 20 21 #endif 22 23