6afe2c0d8ff79d0856629b3280001dc6d3cd1ed5
[olsrd.git] / lib / pud / src / nodeIdConversion.h
1 #ifndef _PUD_NODEIDCONVERSION_H_
2 #define _PUD_NODEIDCONVERSION_H_
3
4 /* Plugin includes */
5 #include "wireFormat.h"
6
7 /* OLSR includes */
8 #include "olsr_protocol.h"
9
10 /* System includes */
11 #include <stdbool.h>
12 #include <stddef.h>
13
14 size_t setupNodeInfoForOlsr(PudOlsrWireFormat * olsrGpsMessage,
15                 unsigned int olsrMessageSize);
16
17 void getNodeInfoFromOlsr(const union olsr_message *olsrMessage,
18                 PudOlsrWireFormat *olsrGpsMessage, char *nodeIdBuffer,
19                 unsigned int nodeIdBufferSize, const char **nodeId,
20                 char *nodeIdTypeString);
21
22 #endif /* _PUD_NODEIDCONVERSION_H_ */