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 PARSE_APRS_H 12 #define PARSE_APRS_H 13 14 #include "worker.h" 15 #include "parse_aprs.h" 16 17 struct aprs_message_t { 18 const char *body; /* message body */ 19 const char *msgid; 20 21 int body_len; 22 int msgid_len; 23 int is_ack; 24 }; 25 26 extern int parse_aprs(struct pbuf_t *pb); 27 extern int parse_aprs_message(struct pbuf_t *pb, struct aprs_message_t *am); 28 29 #endif 30