summaryrefslogtreecommitdiff
path: root/core/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/Messenger.h')
-rw-r--r--core/Messenger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Messenger.h b/core/Messenger.h
index a2add19d..e12b3fc8 100644
--- a/core/Messenger.h
+++ b/core/Messenger.h
@@ -63,6 +63,7 @@ extern "C" {
63#define FAERR_UNKNOWN -5 63#define FAERR_UNKNOWN -5
64#define FAERR_BADCHECKSUM -6 64#define FAERR_BADCHECKSUM -6
65#define FAERR_SETNEWNOSPAM -7 65#define FAERR_SETNEWNOSPAM -7
66#define FAERR_NOMEM -8
66 67
67/* don't assume MAX_STATUSMESSAGE_LENGTH will stay at 128, it may be increased 68/* don't assume MAX_STATUSMESSAGE_LENGTH will stay at 128, it may be increased
68 to an absurdly large number later */ 69 to an absurdly large number later */
@@ -151,6 +152,7 @@ void getaddress(Messenger *m, uint8_t *address);
151 * return -6 if bad checksum in address 152 * return -6 if bad checksum in address
152 * return -7 if the friend was already there but the nospam was different 153 * return -7 if the friend was already there but the nospam was different
153 * (the nospam for that friend was set to the new one) 154 * (the nospam for that friend was set to the new one)
155 * return -8 if increasing the friend list size fails
154 */ 156 */
155int m_addfriend(Messenger *m, uint8_t *address, uint8_t *data, uint16_t length); 157int m_addfriend(Messenger *m, uint8_t *address, uint8_t *data, uint16_t length);
156 158