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 HTTP_H 12 #define HTTP_H 13 14 #include "worker.h" 15 16 extern struct worker_t *http_worker; 17 18 extern int http_reconfiguring; 19 extern int http_shutting_down; 20 21 extern int loginpost_split(char *post, int len, char **login_string, char **packet); 22 extern int pseudoclient_push_packet(struct worker_t *worker, struct client_t *pseudoclient, const char *username, char *packet, int packet_len); 23 24 extern void http_thread(void *asdf); 25 26 #endif 27