1 2 /* 3 * aprsc 4 * 5 * (c) Heikki Hannikainen, OH7LZB 6 * 7 * This program is licensed under the BSD license, which can be found 8 * in the file LICENSE. 9 * 10 */ 11 12 #ifndef MESSAGING_H 13 #define MESSAGING_H 14 15 #include "worker.h" 16 #include "parse_aprs.h" 17 18 extern void messaging_generate_msgid(char *buf, int buflen); 19 extern int messaging_ack(struct worker_t *self, struct client_t *c, struct pbuf_t *pb, struct aprs_message_t *am); 20 extern int messaging_message_client(struct worker_t *self, struct client_t *c, const char *fmt, ...); 21 22 #endif 23